Struct rustc::ty::layout::call::FnType[][src]

pub struct FnType<'a, Ty> {
    pub args: Vec<ArgType<'a, Ty>>,
    pub ret: ArgType<'a, Ty>,
    pub variadic: bool,
    pub conv: Conv,
}
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Metadata describing how the arguments to a native function should be passed in order to respect the native ABI.

I will do my best to describe this structure, but these comments are reverse-engineered and may be inaccurate. -NDM

Fields

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

The LLVM types of each argument.

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

LLVM return type.

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Methods

impl<'a, Ty> FnType<'a, Ty>
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Trait Implementations

impl<'a, Ty> Debug for FnType<'a, Ty> where
    Ty: Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, Ty> Send for FnType<'a, Ty> where
    Ty: Send

impl<'a, Ty> Sync for FnType<'a, Ty> where
    Ty: Sync