HasRepr

Trait HasRepr 

Source
pub trait HasRepr {
    type ReprType;
}
Expand description

A type which has a corresponding static/owned representation type.

Required Associated Types§

Source

type ReprType

The type containing an equivalent to Self, as an owned struct.

Implementations on Foreign Types§

Source§

impl<T: HasRepr> HasRepr for Option<T>

Implementors§

Source§

impl<O, B> HasRepr for BoxedHeader<O, B>

Available on crate feature alloc only.
Source§

impl<O, B> HasRepr for InlineHeader<O, B>