Struct rustdoc::clean::Method[][src]

pub struct Method {
    pub generics: Generics,
    pub decl: FnDecl,
    pub header: FnHeader,
}

Fields

Trait Implementations

impl Clone for Method
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for Method
[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 Method
[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 Debug for Method
[src]

Formats the value using the given formatter. Read more

impl<'a> Clean<Method> for (&'a MethodSig, &'a Generics, BodyId)
[src]

Auto Trait Implementations

impl !Send for Method

impl !Sync for Method