pub trait CollectableVec<I, T>: AnyIterableVec<I, T>{
// Provided methods
fn iter_range(
&self,
from: Option<usize>,
to: Option<usize>,
) -> impl Iterator<Item = T> { ... }
fn iter_signed_range(
&self,
from: Option<i64>,
to: Option<i64>,
) -> impl Iterator<Item = T> { ... }
fn collect(&self) -> Vec<T> { ... }
fn collect_range(&self, from: Option<usize>, to: Option<usize>) -> Vec<T> { ... }
fn collect_signed_range(&self, from: Option<i64>, to: Option<i64>) -> Vec<T> { ... }
fn collect_range_json_bytes(
&self,
from: Option<usize>,
to: Option<usize>,
) -> Vec<u8> ⓘ { ... }
fn collect_range_string(
&self,
from: Option<usize>,
to: Option<usize>,
) -> Vec<String> { ... }
fn i64_to_usize_(i: i64, len: usize) -> usize { ... }
}Provided Methods§
fn iter_range( &self, from: Option<usize>, to: Option<usize>, ) -> impl Iterator<Item = T>
fn iter_signed_range( &self, from: Option<i64>, to: Option<i64>, ) -> impl Iterator<Item = T>
fn collect(&self) -> Vec<T>
fn collect_range(&self, from: Option<usize>, to: Option<usize>) -> Vec<T>
fn collect_signed_range(&self, from: Option<i64>, to: Option<i64>) -> Vec<T>
fn collect_range_json_bytes( &self, from: Option<usize>, to: Option<usize>, ) -> Vec<u8> ⓘ
fn collect_range_string( &self, from: Option<usize>, to: Option<usize>, ) -> Vec<String>
fn i64_to_usize_(i: i64, len: usize) -> usize
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.