pub trait RichVec<T, E> {
// Required method
fn partition_results(self) -> (Vec<T>, Vec<E>);
}
Expand description
Simple trait to implement partitioning methon on vectors of results.
Required Methods§
sourcefn partition_results(self) -> (Vec<T>, Vec<E>)
fn partition_results(self) -> (Vec<T>, Vec<E>)
Separate a Vec containing both T
and E
into two seperate Vec
s.