Enum metatype::MetaType [−][src]
pub enum MetaType { TraitObject, Slice, Concrete, }
Expand description
Meta type of a type
Variants
Trait object, thus unsized
Slice, thus unsized
Sized type
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MetaType
impl UnwindSafe for MetaType
Blanket Implementations
Mutably borrows from an owned value. Read more
Retrieve TraitObject
, Slice
or Concrete
meta data respectively for a type
Create a dangling non-null *const Self
with the provided Self::Meta
.
Create a *mut Self
with the provided Self::Meta
.
type Meta: 'static
type Meta: 'static
Type of metadata for type.
Helper method describing whether a type is TraitObject
, Slice
or Concrete
.
Retrieve TraitObject
, Slice
or Concrete
meta data respectively for a type
Create a dangling non-null *const Self
with the provided Self::Meta
.
Create a *mut Self
with the provided Self::Meta
.
Helper method describing whether a type is TraitObject
, Slice
or Concrete
.