Struct runestick::CompileMeta [−][src]
pub struct CompileMeta { pub item: Arc<CompileItem>, pub kind: CompileMetaKind, pub source: Option<CompileSource>, }
Expand description
Compile-time metadata about a unit.
Fields
item: Arc<CompileItem>
The item of the returned compile meta.
kind: CompileMetaKind
The kind of the compile meta.
source: Option<CompileSource>
The source of the meta.
Implementations
Get the type hash of the base type (the one to type check for) for the given compile meta.
Note: Variants cannot be used for type checking, you should instead compare them against the enum type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CompileMeta
impl Send for CompileMeta
impl Sync for CompileMeta
impl Unpin for CompileMeta
impl UnwindSafe for CompileMeta
Blanket Implementations
Mutably borrows from an owned value. Read more