Struct rustdoc::clean::FnDecl[][src]

pub struct FnDecl {
    pub inputs: Arguments,
    pub output: FunctionRetTy,
    pub variadic: bool,
    pub attrs: Attributes,
}

Fields

Methods

impl FnDecl
[src]

Trait Implementations

impl Clone for FnDecl
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for FnDecl
[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?

impl Decodable for FnDecl
[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?

impl PartialEq for FnDecl
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FnDecl
[src]

impl Debug for FnDecl
[src]

Formats the value using the given formatter. Read more

impl Hash for FnDecl
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a, A: Copy> Clean<FnDecl> for (&'a FnDecl, A) where
    (&'a [Ty], A): Clean<Arguments>, 
[src]

impl<'a, 'tcx> Clean<FnDecl> for (DefId, PolyFnSig<'tcx>)
[src]

impl Display for FnDecl
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for FnDecl

impl !Sync for FnDecl