Function core_extensions::transparent_newtype::from_inner_vec
source · [−]pub fn from_inner_vec<T>(this: Vec<T::Inner>) -> Vec<T> where
T: TransparentNewtype,
T::Inner: Sized,
Available on crate features
transparent_newtype
and alloc
only.Expand description
Converts a Vec
of some type into a Vec
of a wrapper around that type.