Struct syntex_syntax::ast::MethodSig [] [src]

pub struct MethodSig {
    pub unsafety: Unsafety,
    pub constness: Spanned<Constness>,
    pub abi: Abi,
    pub decl: P<FnDecl>,
    pub generics: Generics,
}

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 PartialEq for MethodSig
[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 MethodSig
[src]

impl Encodable for MethodSig
[src]

Serialize a value using an Encoder.

impl Decodable for MethodSig
[src]

Deserialize a value using a Decoder.

impl Hash for MethodSig
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for MethodSig
[src]

Formats the value using the given formatter.