Struct rustc_ap_rustc_ast::ast::ImplKind[][src]

pub struct ImplKind {
    pub unsafety: Unsafe,
    pub polarity: ImplPolarity,
    pub defaultness: Defaultness,
    pub constness: Const,
    pub generics: Generics,
    pub of_trait: Option<TraitRef>,
    pub self_ty: P<Ty>,
    pub items: Vec<P<AssocItem>>,
}

Fields

unsafety: Unsafepolarity: ImplPolaritydefaultness: Defaultnessconstness: Constgenerics: Genericsof_trait: Option<TraitRef>

The trait being implemented, if any.

self_ty: P<Ty>items: Vec<P<AssocItem>>

Trait Implementations

impl Clone for ImplKind[src]

impl Debug for ImplKind[src]

impl<__D: Decoder> Decodable<__D> for ImplKind[src]

impl<__E: Encoder> Encodable<__E> for ImplKind[src]

Auto Trait Implementations

impl !RefUnwindSafe for ImplKind

impl !Send for ImplKind

impl !Sync for ImplKind

impl Unpin for ImplKind

impl !UnwindSafe for ImplKind

Blanket Implementations

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

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

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

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

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

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,