Struct devise::syn::MethodSig [−][src]
pub struct MethodSig {
pub constness: Option<Const>,
pub asyncness: Option<Async>,
pub unsafety: Option<Unsafe>,
pub abi: Option<Abi>,
pub ident: Ident,
pub decl: FnDecl,
}Expand description
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
constness: Option<Const>asyncness: Option<Async>unsafety: Option<Unsafe>abi: Option<Abi>ident: Identdecl: FnDeclTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MethodSig
impl UnwindSafe for MethodSig
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty. Read more