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

pub(in rmeta) enum EntryKind {
    AnonConst(ConstQualifs, Lazy<RenderedConst>),
    Const(ConstQualifs, Lazy<RenderedConst>),
    ImmStatic,
    MutStatic,
    ForeignImmStatic,
    ForeignMutStatic,
    ForeignMod,
    ForeignType,
    GlobalAsm,
    Type,
    TypeParam,
    ConstParam,
    OpaqueTy,
    Enum(ReprOptions),
    Field,
    Variant(Lazy<VariantData>),
    Struct(Lazy<VariantData>, ReprOptions),
    Union(Lazy<VariantData>, ReprOptions),
    Fn(Lazy<FnData>),
    ForeignFn(Lazy<FnData>),
    Mod(Lazy<ModData>),
    MacroDef(Lazy<MacroDef>),
    Closure,
    Generator(GeneratorKind),
    Trait(Lazy<TraitData>),
    Impl(Lazy<ImplData>),
    AssocFn(Lazy<AssocFnData>),
    AssocType(AssocContainer),
    AssocConst(AssocContainer, ConstQualifs, Lazy<RenderedConst>),
    TraitAlias,
}

Variants

AnonConst(ConstQualifs, Lazy<RenderedConst>)
Const(ConstQualifs, Lazy<RenderedConst>)
ImmStatic
MutStatic
ForeignImmStatic
ForeignMutStatic
ForeignMod
ForeignType
GlobalAsm
Type
TypeParam
ConstParam
OpaqueTy
Enum(ReprOptions)
Field
Variant(Lazy<VariantData>)
Struct(Lazy<VariantData>, ReprOptions)
Union(Lazy<VariantData>, ReprOptions)
Fn(Lazy<FnData>)
ForeignFn(Lazy<FnData>)
Mod(Lazy<ModData>)
MacroDef(Lazy<MacroDef>)
Closure
Generator(GeneratorKind)
Trait(Lazy<TraitData>)
Impl(Lazy<ImplData>)
AssocFn(Lazy<AssocFnData>)
AssocType(AssocContainer)
AssocConst(AssocContainer, ConstQualifs, Lazy<RenderedConst>)
TraitAlias

Implementations

impl EntryKind[src]

pub(in rmeta::decoder) fn def_kind(
    &self
) -> DefKind
[src]

Trait Implementations

impl Clone for EntryKind[src]

impl Copy for EntryKind[src]

impl<'tcx, '__a> Decodable<DecodeContext<'__a, 'tcx>> for EntryKind[src]

impl<'tcx, '__a> Encodable<EncodeContext<'__a, 'tcx>> for EntryKind[src]

Auto Trait Implementations

impl !RefUnwindSafe for EntryKind

impl !Send for EntryKind

impl !Sync for EntryKind

impl Unpin for EntryKind

impl !UnwindSafe for EntryKind

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.