pub trait ConcatVec<T>: Sealed {
// Required method
fn concat_vec(self) -> Vec<T>;
}Required Methods§
Sourcefn concat_vec(self) -> Vec<T>
fn concat_vec(self) -> Vec<T>
concat() for Vec<Vec<T>> that avoids clones if self is length-1.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".