struct FnDecl
pub struct FnDecl :: [Debug]
Conforms to Debug.
A function or a method, free or a member. throws is the thrown set, null where none is
written; retGrouped says the return type stands in parentheses; externAbi and
externSymbol are an extern "abi" fn's.
Fields
pub visibility: Visibility
pub isStatic: bool
pub isMut: bool
pub isInline: bool
pub name: Ident
pub generics: GenericParam[]
pub params: Param[]
pub ret: ?Type
pub retGrouped: bool
pub throws: ?Type[]
pub body: ?Block
pub externAbi: ?string
pub externSymbol: ?string
pub attributes: Attribute[]
pub span: Span