Enum rustc_metadata::rmeta::EntryKind [−][src]
enum EntryKind {
Show 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>),
ProcMacro(MacroKind),
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>)Enum(ReprOptions)Variant(Lazy<VariantData>)Struct(Lazy<VariantData>, ReprOptions)Union(Lazy<VariantData>, ReprOptions)ProcMacro(MacroKind)Generator(GeneratorKind)AssocFn(Lazy<AssocFnData>)AssocType(AssocContainer)AssocConst(AssocContainer, ConstQualifs, Lazy<RenderedConst>)Trait Implementations
impl<'tcx, '__a> Decodable<DecodeContext<'__a, 'tcx>> for EntryKind[src]
impl<'tcx, '__a> Decodable<DecodeContext<'__a, 'tcx>> for EntryKind[src]fn decode(__decoder: &mut DecodeContext<'__a, 'tcx>) -> Result<Self, String>[src]
impl<'tcx, '__a> Encodable<EncodeContext<'__a, 'tcx>> for EntryKind[src]
impl<'tcx, '__a> Encodable<EncodeContext<'__a, 'tcx>> for EntryKind[src]impl Copy 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> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,