Struct syntax::ast::MethodSig[][src]

pub struct MethodSig {
    pub header: FnHeader,
    pub decl: P<FnDecl>,
}

Represents a method's signature in a trait declaration, or in an implementation.

Fields

Trait Implementations

impl Clone for MethodSig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for MethodSig
[src]

impl Decodable for MethodSig
[src]

impl Debug for MethodSig
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for MethodSig

impl !Sync for MethodSig