Struct metatype::Slice [−][src]
pub struct Slice { pub len: usize, }
Expand description
Meta data for a slice
Fields
len: usize
Number of elements in the slice
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Slice
impl UnwindSafe for Slice
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
.