ConcatVec

Trait ConcatVec 

Source
pub trait ConcatVec<T>: Sealed {
    // Required method
    fn concat_vec(self) -> Vec<T>;
}

Required Methods§

Source

fn concat_vec(self) -> Vec<T>

concat() for Vec<Vec<T>> that avoids clones if self is length-1.

Implementations on Foreign Types§

Source§

impl<T> ConcatVec<T> for Vec<Vec<T>>
where T: Copy,

Source§

fn concat_vec(self) -> Vec<T>

Implementors§