Trait grafix_toolbox::lib::CollectVec
source · pub trait CollectVec<T>: Sized + Iterator<Item = T> {
// Provided methods
fn collect_vec(self) -> Vec<T> { ... }
fn collect_box(self) -> Box<[T]> { ... }
fn collect_arr<const N: usize>(self) -> [T; N] { ... }
}Provided Methods§
fn collect_vec(self) -> Vec<T>
fn collect_box(self) -> Box<[T]>
fn collect_arr<const N: usize>(self) -> [T; N]
Object Safety§
This trait is not object safe.