Struct syn::ItemStruct [−][src]
A struct definition: struct Foo<A> { x: A }
.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
vis: Visibility
struct_token: Struct
ident: Ident
generics: Generics
fields: Fields
semi_token: Option<Semi>
Trait Implementations
impl Synom for ItemStruct
[src]
[+]
impl Synom for ItemStruct
impl ToTokens for ItemStruct
[src]
[+]
impl ToTokens for ItemStruct
impl Clone for ItemStruct
[src]
[+]
impl Clone for ItemStruct
impl From<ItemStruct> for Item
[src]
[+]
impl From<ItemStruct> for Item
Auto Trait Implementations
impl !Send for ItemStruct
impl !Send for ItemStruct
impl !Sync for ItemStruct
impl !Sync for ItemStruct