Struct pusherator::partition::PartitionBuild
source · pub struct PartitionBuild<Prev, Next1, Func>where
Prev: PusheratorBuild,
Next1: Pusherator<Item = Prev::ItemOut>,
Func: FnMut(&Prev::ItemOut) -> bool,{ /* private fields */ }
Implementations§
source§impl<Prev, Next1, Func> PartitionBuild<Prev, Next1, Func>where
Prev: PusheratorBuild,
Next1: Pusherator<Item = Prev::ItemOut>,
Func: FnMut(&Prev::ItemOut) -> bool,
impl<Prev, Next1, Func> PartitionBuild<Prev, Next1, Func>where
Prev: PusheratorBuild,
Next1: Pusherator<Item = Prev::ItemOut>,
Func: FnMut(&Prev::ItemOut) -> bool,
Trait Implementations§
source§impl<Prev, Next1, Func> PusheratorBuild for PartitionBuild<Prev, Next1, Func>where
Prev: PusheratorBuild,
Next1: Pusherator<Item = Prev::ItemOut>,
Func: FnMut(&Prev::ItemOut) -> bool,
impl<Prev, Next1, Func> PusheratorBuild for PartitionBuild<Prev, Next1, Func>where
Prev: PusheratorBuild,
Next1: Pusherator<Item = Prev::ItemOut>,
Func: FnMut(&Prev::ItemOut) -> bool,
type ItemOut = <Prev as PusheratorBuild>::ItemOut
type Output<Next: Pusherator<Item = Self::ItemOut>> = <Prev as PusheratorBuild>::Output<Partition<Next1, Next, Func>>
fn push_to<Next>(self, input: Next) -> Self::Output<Next>where
Next: Pusherator<Item = Self::ItemOut>,
fn map<Func, Out>(self, func: Func) -> MapBuild<Self, Func>
fn inspect<Func>(self, func: Func) -> InspectBuild<Self, Func>
fn filter<Func>(self, func: Func) -> FilterBuild<Self, Func>
fn unzip<Next1, Item2>(self, next1: Next1) -> UnzipBuild<Self, Next1>
fn switch<Next1, Item2>(self, next1: Next1) -> SwitchBuild<Self, Next1>
fn for_each<Func>( self, func: Func, ) -> Self::Output<ForEach<Func, Self::ItemOut>>
fn demux<Func, Nexts>( self, func: Func, nexts: Nexts, ) -> Self::Output<Demux<Func, Nexts, Self::ItemOut>>
Auto Trait Implementations§
impl<Prev, Next1, Func> Freeze for PartitionBuild<Prev, Next1, Func>
impl<Prev, Next1, Func> RefUnwindSafe for PartitionBuild<Prev, Next1, Func>
impl<Prev, Next1, Func> Send for PartitionBuild<Prev, Next1, Func>
impl<Prev, Next1, Func> Sync for PartitionBuild<Prev, Next1, Func>
impl<Prev, Next1, Func> Unpin for PartitionBuild<Prev, Next1, Func>
impl<Prev, Next1, Func> UnwindSafe for PartitionBuild<Prev, Next1, Func>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more