Struct syntex_syntax::ast::Item
[−]
[src]
pub struct Item { pub ident: Ident, pub attrs: Vec<Attribute>, pub id: NodeId, pub node: Item_, pub vis: Visibility, pub span: Span, }
An item
The name might be a dummy name in case of anonymous items
Fields
ident | |
attrs | |
id | |
node | |
vis | |
span |