Struct syn::MacroInput [] [src]

pub struct MacroInput {
    pub ident: Ident,
    pub vis: Visibility,
    pub attrs: Vec<Attribute>,
    pub generics: Generics,
    pub body: Body,


Trait Implementations

impl ToTokens for MacroInput

Write self to the given Tokens. Read more

impl Debug for MacroInput

Formats the value using the given formatter.

impl Clone for MacroInput

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for MacroInput

impl PartialEq for MacroInput

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.