Struct syntax::ast::ImplItem [] [src]

pub struct ImplItem {
    pub id: NodeId,
    pub ident: Ident,
    pub vis: Visibility,
    pub defaultness: Defaultness,
    pub attrs: Vec<Attribute>,
    pub generics: Generics,
    pub node: ImplItemKind,
    pub span: Span,
    pub tokens: Option<TokenStream>,
}

Fields

See Item::tokens for what this is

Trait Implementations

impl Clone for ImplItem
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ImplItem
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ImplItem
[src]

impl Encodable for ImplItem
[src]

[src]

impl Decodable for ImplItem
[src]

[src]

impl Hash for ImplItem
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for ImplItem
[src]

[src]

Formats the value using the given formatter. Read more

impl HasAttrs for ImplItem
[src]

Important traits for &'a mut [u8]
[src]

[src]

impl ToTokens for ImplItem
[src]

Important traits for Vec<u8>
[src]

Auto Trait Implementations

impl !Send for ImplItem

impl !Sync for ImplItem