Enum runestick::CompileMetaKind [−][src]
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
impl Clone for CompileMetaKind
[src]
fn clone(&self) -> CompileMetaKind
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CompileMetaKind
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,