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

enum EntryKind {
Show 31 variants AnonConst(ConstQualifsLazy<RenderedConst>), Const(ConstQualifsLazy<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>), ProcMacro(MacroKind), Closure, Generator(GeneratorKind), Trait(Lazy<TraitData>), Impl(Lazy<ImplData>), AssocFn(Lazy<AssocFnData>), AssocType(AssocContainer), AssocConst(AssocContainerConstQualifsLazy<RenderedConst>), TraitAlias,
}

Variants

AnonConst(ConstQualifsLazy<RenderedConst>)

Tuple Fields of AnonConst

0: ConstQualifs1: Lazy<RenderedConst>
Const(ConstQualifsLazy<RenderedConst>)

Tuple Fields of Const

0: ConstQualifs1: Lazy<RenderedConst>
ImmStatic
MutStatic
ForeignImmStatic
ForeignMutStatic
ForeignMod
ForeignType
GlobalAsm
Type
TypeParam
ConstParam
OpaqueTy
Enum(ReprOptions)

Tuple Fields of Enum

0: ReprOptions
Field
Variant(Lazy<VariantData>)

Tuple Fields of Variant

0: Lazy<VariantData>
Struct(Lazy<VariantData>, ReprOptions)

Tuple Fields of Struct

0: Lazy<VariantData>1: ReprOptions
Union(Lazy<VariantData>, ReprOptions)

Tuple Fields of Union

0: Lazy<VariantData>1: ReprOptions
Fn(Lazy<FnData>)

Tuple Fields of Fn

0: Lazy<FnData>
ForeignFn(Lazy<FnData>)

Tuple Fields of ForeignFn

0: Lazy<FnData>
Mod(Lazy<ModData>)

Tuple Fields of Mod

0: Lazy<ModData>
MacroDef(Lazy<MacroDef>)

Tuple Fields of MacroDef

0: Lazy<MacroDef>
ProcMacro(MacroKind)

Tuple Fields of ProcMacro

0: MacroKind
Closure
Generator(GeneratorKind)

Tuple Fields of Generator

0: GeneratorKind
Trait(Lazy<TraitData>)

Tuple Fields of Trait

0: Lazy<TraitData>
Impl(Lazy<ImplData>)

Tuple Fields of Impl

0: Lazy<ImplData>
AssocFn(Lazy<AssocFnData>)

Tuple Fields of AssocFn

0: Lazy<AssocFnData>
AssocType(AssocContainer)

Tuple Fields of AssocType

0: AssocContainer
AssocConst(AssocContainerConstQualifsLazy<RenderedConst>)

Tuple Fields of AssocConst

0: AssocContainer1: ConstQualifs2: Lazy<RenderedConst>
TraitAlias

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 32 bytes

Size for each variant: