Enum runestick::CompileMetaKind [−][src]
pub enum CompileMetaKind {}Show 13 variants
UnitStruct { type_hash: Hash, empty: CompileMetaEmpty, }, TupleStruct { type_hash: Hash, tuple: CompileMetaTuple, }, Struct { type_hash: Hash, object: CompileMetaStruct, }, UnitVariant { type_hash: Hash, enum_item: Item, empty: CompileMetaEmpty, }, TupleVariant { type_hash: Hash, enum_item: Item, tuple: CompileMetaTuple, }, StructVariant { type_hash: Hash, enum_item: Item, object: CompileMetaStruct, }, Enum { type_hash: Hash, }, Function { type_hash: Hash, is_test: bool, }, Closure { type_hash: Hash, captures: Arc<[CompileMetaCapture]>, do_move: bool, }, AsyncBlock { type_hash: Hash, captures: Arc<[CompileMetaCapture]>, do_move: bool, }, Const { const_value: ConstValue, }, ConstFn { id: Id, is_test: bool, }, Import { module: Arc<CompileMod>, location: Location, target: Item, },
Expand description
Compile-time metadata kind about a unit.
Variants
Metadata about an object.
Fields of UnitStruct
type_hash: Hash
The type hash associated with this meta kind.
empty: CompileMetaEmpty
The underlying object.
Metadata about a tuple.
Fields of TupleStruct
type_hash: Hash
The type hash associated with this meta kind.
tuple: CompileMetaTuple
The underlying tuple.
Metadata about an object.
Fields of Struct
type_hash: Hash
The type hash associated with this meta kind.
object: CompileMetaStruct
The underlying object.
Metadata about an empty variant.
Fields of UnitVariant
type_hash: Hash
The type hash associated with this meta kind.
enum_item: Item
The item of the enum.
empty: CompileMetaEmpty
The underlying empty.
Metadata about a tuple variant.
Fields of TupleVariant
type_hash: Hash
The type hash associated with this meta item.
enum_item: Item
The item of the enum.
tuple: CompileMetaTuple
The underlying tuple.
Metadata about a variant object.
Fields of StructVariant
type_hash: Hash
The type hash associated with this meta kind.
enum_item: Item
The item of the enum.
object: CompileMetaStruct
The underlying object.
An enum item.
Fields of Enum
type_hash: Hash
The type hash associated with this meta kind.
A function declaration.
Fields of Function
A closure.
Fields of Closure
An async block.
Fields of AsyncBlock
The constant expression.
Fields of Const
const_value: ConstValue
The evaluated constant value.
A constant function.
Fields of ConstFn
Purely an import.
Fields of Import
module: Arc<CompileMod>
The module of the target.
location: Location
The location of the import.
target: Item
The imported target.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CompileMetaKind
impl Send for CompileMetaKind
impl Sync for CompileMetaKind
impl Unpin for CompileMetaKind
impl UnwindSafe for CompileMetaKind
Blanket Implementations
Mutably borrows from an owned value. Read more