pub trait EitherIterExt<A, B>: Iterator<Item = OxiEither<A, B>> + Sized {
// Provided methods
fn lefts(self) -> LeftIter<A, B, Self> ⓘ { ... }
fn rights(self) -> RightIter<A, B, Self> ⓘ { ... }
fn partition_either(self) -> (Vec<A>, Vec<B>) { ... }
}Expand description
Extension methods for iterators of OxiEither.
Provided Methods§
Sourcefn partition_either(self) -> (Vec<A>, Vec<B>)
fn partition_either(self) -> (Vec<A>, Vec<B>)
Partition into (lefts, rights).
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.