[][src]Enum metatype::MetaType

pub enum MetaType {
    TraitObject,
    Slice,
    Concrete,
}

Meta type of a type

Variants

TraitObject

Trait object, thus unsized

Slice

Slice, thus unsized

Concrete

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

Blanket Implementations

impl<T> Type for T where
    T: ?Sized
[src]

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]