pub trait TransparentWrapperAlloc<Inner: ?Sized>: TransparentWrapper<Inner> {
    fn wrap_vec(s: Vec<Inner>) -> Vec<Self>
    where
        Self: Sized,
        Inner: Sized
, { ... } fn peel_vec(s: Vec<Self>) -> Vec<Inner>
    where
        Self: Sized,
        Inner: Sized
, { ... } }
Expand description

An extension trait for TransparentWrapper and alloc types.

Provided Methods

Convert a vec of the inner type into a vec of the wrapper type.

Convert a vec of the wrapper type into a vec of the inner type.

Implementors