[−][src]Enum rustc_metadata::rmeta::AssocContainer

pub(in rmeta) enum AssocContainer {
    TraitRequired,
    TraitWithDefault,
    ImplDefault,
    ImplFinal,
}

Describes whether the container of an associated item is a trait or an impl and whether, in a trait, it has a default, or an in impl, whether it's marked "default".

Variants

TraitRequired
TraitWithDefault
ImplDefault
ImplFinal

Implementations

impl AssocContainer[src]

pub(in rmeta) fn with_def_id(
    &self,
    def_id: DefId
) -> AssocItemContainer
[src]

pub(in rmeta) fn defaultness(
    &self
) -> Defaultness
[src]

Trait Implementations

impl Clone for AssocContainer[src]

impl Copy for AssocContainer[src]

impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for AssocContainer[src]

impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for AssocContainer[src]

Auto Trait Implementations

impl RefUnwindSafe for AssocContainer

impl Send for AssocContainer

impl Sync for AssocContainer

impl Unpin for AssocContainer

impl UnwindSafe for AssocContainer

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> From<T> for T[src]

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

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.