Struct rustdoc::doctree::Function [−][src]
pub struct Function { pub decl: FnDecl, pub attrs: HirVec<Attribute>, pub id: NodeId, pub name: Name, pub vis: Visibility, pub stab: Option<Stability>, pub depr: Option<Deprecation>, pub header: FnHeader, pub whence: Span, pub generics: Generics, pub body: BodyId, }
Fields
decl: FnDecl
attrs: HirVec<Attribute>
id: NodeId
name: Name
vis: Visibility
stab: Option<Stability>
depr: Option<Deprecation>
header: FnHeader
whence: Span
generics: Generics
body: BodyId