[−][src]Enum metatype::MetaType
Meta type of a type
Variants
Trait object, thus unsized
Slice, thus unsized
Sized type
Trait Implementations
impl Clone for MetaType
[src]
impl Copy for MetaType
[src]
impl Eq for MetaType
[src]
impl PartialEq<MetaType> for MetaType
[src]
impl Debug for MetaType
[src]
Auto Trait Implementations
impl Send for MetaType
impl Sync for MetaType
impl Unpin for MetaType
impl UnwindSafe for MetaType
impl RefUnwindSafe for MetaType
Blanket Implementations
impl<T> Type for T where
T: ?Sized,
[src]
T: ?Sized,
default fn meta(*const T) -> <T as Type>::Meta
[src]
default fn data(*const T) -> *const ()
[src]
default fn data_mut(*mut T) -> *mut ()
[src]
default fn dangling(<T as Type>::Meta) -> NonNull<T>
[src]
default fn fatten(*mut (), <T as Type>::Meta) -> *mut T
[src]
const METATYPE: MetaType
[src]
type Meta: 'static
fn meta_type(self: *const Self) -> MetaType
[src]
impl<T> Type for T
[src]
const METATYPE: MetaType
[src]
type Meta = Concrete
Type of metadata for type.
fn meta(*const T) -> <T as Type>::Meta
[src]
fn data(*const T) -> *const ()
[src]
fn data_mut(*mut T) -> *mut ()
[src]
fn dangling(<T as Type>::Meta) -> NonNull<T>
[src]
fn fatten(*mut (), <T as Type>::Meta) -> *mut T
[src]
fn meta_type(self: *const Self) -> MetaType
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,