Struct item::Item [] [src]

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

Fields

Trait Implementations

impl ToTokens for Item
[src]

impl PartialEq for Item
[src]

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

This method tests for !=.

impl Eq for Item
[src]

impl Clone for Item
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Item
[src]

Formats the value using the given formatter.