Struct metatype::TraitObject [−][src]
pub struct TraitObject { pub vtable: &'static (), }
Expand description
Meta data for a trait object
Fields
vtable: &'static ()
Address of vtable
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TraitObject
impl Send for TraitObject
impl Sync for TraitObject
impl Unpin for TraitObject
impl UnwindSafe for TraitObject
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
.