Struct pusherator::filter::FilterBuild
source · pub struct FilterBuild<Prev, Func>{ /* private fields */ }
Implementations§
source§impl<Prev, Func> FilterBuild<Prev, Func>
impl<Prev, Func> FilterBuild<Prev, Func>
Trait Implementations§
source§impl<Prev, Func> PusheratorBuild for FilterBuild<Prev, Func>
impl<Prev, Func> PusheratorBuild for FilterBuild<Prev, Func>
type ItemOut = <Prev as PusheratorBuild>::ItemOut
type Output<Next: Pusherator<Item = Self::ItemOut>> = <Prev as PusheratorBuild>::Output<Filter<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, Func> Freeze for FilterBuild<Prev, Func>
impl<Prev, Func> RefUnwindSafe for FilterBuild<Prev, Func>where
Prev: RefUnwindSafe,
Func: RefUnwindSafe,
impl<Prev, Func> Send for FilterBuild<Prev, Func>
impl<Prev, Func> Sync for FilterBuild<Prev, Func>
impl<Prev, Func> Unpin for FilterBuild<Prev, Func>
impl<Prev, Func> UnwindSafe for FilterBuild<Prev, Func>where
Prev: UnwindSafe,
Func: UnwindSafe,
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