Trait tetsy_scale_codec::WrapperTypeDecode[][src]

pub trait WrapperTypeDecode: Sized {
    type Wrapped: Into<Self>;
}

A marker trait for types that can be created solely from other decodable types.

The decoding of such type is assumed to be the same as the wrapped type.

Associated Types

type Wrapped: Into<Self>[src]

A wrapped type.

Loading content...

Implementations on Foreign Types

impl<T> WrapperTypeDecode for Box<T>[src]

type Wrapped = T

impl<T> WrapperTypeDecode for Arc<T>[src]

type Wrapped = T

impl<T> WrapperTypeDecode for Rc<T>[src]

type Wrapped = T

Loading content...

Implementors

Loading content...