Struct syn::ItemImpl [−][src]
An impl block providing trait or associated items: impl<A> Trait for Data<A> { ... }
.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
defaultness: Option<Default>
unsafety: Option<Unsafe>
impl_token: Impl
generics: Generics
trait_: Option<(Option<Bang>, Path, For)>
Trait this impl implements.
self_ty: Box<Type>
The Self type of the impl.
brace_token: Brace
items: Vec<ImplItem>
Trait Implementations
impl Synom for ItemImpl
[src]
[+]
impl Synom for ItemImpl
impl ToTokens for ItemImpl
[src]
[+]
impl ToTokens for ItemImpl
impl Clone for ItemImpl
[src]
[+]
impl Clone for ItemImpl
impl From<ItemImpl> for Item
[src]
[+]
impl From<ItemImpl> for Item