Function transvec::transmute_vec_copy_enum[][src]

pub fn transmute_vec_copy_enum<I: Pod, O: Pod, A: Allocator>(
    input: Vec<I, A>
) -> CopyNot<I, O, A>
Expand description

transmute_vec_may_copy but it tells you whether or not a copy occured and returns a normal vec if it doesn’t.