Struct syn::Item [] [src]

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


Trait Implementations

impl ToTokens for Item

impl Debug for Item

Formats the value using the given formatter.

impl Clone for Item

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Item

impl PartialEq for Item

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

This method tests for !=.