Struct syn::DeriveInput [−][src]
Struct or enum sent to a proc_macro_derive
macro.
Fields
ident: Ident
Name of the struct or enum.
vis: Visibility
Visibility of the struct or enum.
attrs: Vec<Attribute>
Attributes tagged on the whole struct or enum.
generics: Generics
Generics required to complete the definition.
body: Body
Data within the struct or enum.
Trait Implementations
impl ToTokens for DeriveInput
[src]
[+]
impl ToTokens for DeriveInput
impl Debug for DeriveInput
[src]
[+]
impl Debug for DeriveInput
impl Clone for DeriveInput
[src]
[+]
impl Clone for DeriveInput
impl Eq for DeriveInput
[src]
impl Eq for DeriveInput
impl PartialEq for DeriveInput
[src]
[+]
impl PartialEq for DeriveInput
impl Hash for DeriveInput
[src]
[+]
impl Hash for DeriveInput
Auto Trait Implementations
impl Send for DeriveInput
impl Send for DeriveInput
impl Sync for DeriveInput
impl Sync for DeriveInput