Struct syn::ItemMod [−][src]
A module or module declaration: mod m
or mod m { ... }
.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
vis: Visibility
mod_token: Mod
ident: Ident
content: Option<(Brace, Vec<Item>)>
semi: Option<Semi>
Trait Implementations
impl Synom for ItemMod
[src]
[+]
impl Synom for ItemMod
impl ToTokens for ItemMod
[src]
[+]
impl ToTokens for ItemMod
impl Clone for ItemMod
[src]
[+]
impl Clone for ItemMod
impl From<ItemMod> for Item
[src]
[+]
impl From<ItemMod> for Item