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

pub struct MethodSig {
    pub unsafety: Unsafety,
    pub constness: Spanned<Constness>,
    pub abi: Abi,
    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 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]

impl Decodable for MethodSig
[src]

impl Hash for MethodSig
[src]

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

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

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