Trait alloc::slice::hack::ConvertVec

source ·
pub trait ConvertVec {
    // Required method
    fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A>
       where Self: Sized;
}

Required Methods§

source

fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A>where Self: Sized,

Implementors§

source§

impl<T: Clone> ConvertVec for T

source§

impl<T: Copy> ConvertVec for T