Struct syn::MethodSig[][src]

pub struct MethodSig {
    pub constness: Option<Const>,
    pub unsafety: Option<Unsafe>,
    pub abi: Option<Abi>,
    pub ident: Ident,
    pub decl: FnDecl,
}

A method's signature in a trait or implementation: unsafe fn initialize(&self).

This type is available if Syn is built with the "full" feature.

Fields

Trait Implementations

impl ToTokens for MethodSig
[src]

Write self to the given Tokens. Read more

Convert self directly into a Tokens object. Read more

impl Clone for MethodSig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for MethodSig

impl !Sync for MethodSig