Struct rfc2580::SizedMetaData[][src]

pub struct SizedMetaData<T>(_);

SizedMetaData.

The meta-data information associated to a pointer to a Sized T.

This is a Zero-Sized Type, as there is no such meta-data information. It is useful for uniform handling of T regardless of sizedness.

Trait Implementations

impl<T> Clone for SizedMetaData<T>[src]

impl<T> Copy for SizedMetaData<T>[src]

impl<T> MetaData for SizedMetaData<T>[src]

type Pointee = T

The type of the pointee of which self represents the meta-data.

Auto Trait Implementations

impl<T> Send for SizedMetaData<T>[src]

impl<T> Sync for SizedMetaData<T>[src]

impl<T> Unpin for SizedMetaData<T>[src]

Blanket Implementations

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

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

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

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

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

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

type MetaData = DynMetaData<T>

The type of the meta-data associated to pointers to Self.

impl<T> Pointee for T[src]

type MetaData = SizedMetaData<T>

The type of the meta-data associated to pointers to Self.

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.