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

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>,
}

Represents anything within an impl block.

Fields

id: NodeIdident: Identvis: Visibilitydefaultness: Defaultnessattrs: Vec<Attribute>generics: Genericsnode: ImplItemKindspan: Spantokens: Option<TokenStream>

See Item::tokens for what this is.

Trait Implementations

impl HasAttrs for ImplItem[src]

impl Clone for ImplItem[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ImplItem[src]

impl Encodable for ImplItem[src]

impl Decodable for ImplItem[src]

Auto Trait Implementations

impl !Send for ImplItem

impl Unpin for ImplItem

impl !Sync for ImplItem

impl !UnwindSafe for ImplItem

impl !RefUnwindSafe for ImplItem

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<E> SpecializationError for E[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,