Enum rustc_save_analysis::DefKind [−][src]
pub(crate) enum DefKind {
Show 19 variants
Enum,
TupleVariant,
StructVariant,
Tuple,
Struct,
Union,
Trait,
Function,
ForeignFunction,
Method,
Macro,
Mod,
Type,
Local,
Static,
ForeignStatic,
Const,
Field,
ExternType,
}Variants
Enum
TupleVariant
StructVariant
Tuple
Struct
Union
Trait
Function
ForeignFunction
Method
Macro
Mod
Type
Local
Static
ForeignStatic
Const
Field
ExternType
Auto Trait Implementations
impl RefUnwindSafe for DefKind
impl UnwindSafe for DefKind
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 1 byte
Size for each variant:
Enum: 0 bytesTupleVariant: 0 bytesStructVariant: 0 bytesTuple: 0 bytesStruct: 0 bytesUnion: 0 bytesTrait: 0 bytesFunction: 0 bytesForeignFunction: 0 bytesMethod: 0 bytesMacro: 0 bytesMod: 0 bytesType: 0 bytesLocal: 0 bytesStatic: 0 bytesForeignStatic: 0 bytesConst: 0 bytesField: 0 bytesExternType: 0 bytes