Skip to main content

Split2

Trait Split2 

Source
pub trait Split2<A, B>: Sized + Iterator {
    // Required method
    fn split2(self) -> (Vec<A>, Vec<B>);
}

Required Methods§

Source

fn split2(self) -> (Vec<A>, Vec<B>)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<A, B, I> Split2<A, B> for I
where I: IntoIterator<Item = (A, B)> + Iterator,