Struct moore_common::grind::Filter
source · [−]pub struct Filter<T: Grinder, F> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<T, F> Grinder for Filter<T, F> where
T: Grinder,
F: Fn(&<T::Item as Chisel>::Value) -> bool,
impl<T, F> Grinder for Filter<T, F> where
T: Grinder,
F: Fn(&<T::Item as Chisel>::Value) -> bool,
type Item = T::Item
type Error = T::Error
fn emit(&mut self, err: Self::Error)
fn next(&mut self) -> Self::Item
fn vent<F, E>(self, f: F) -> Vent<Self, F, E> where
Self: Sized,
F: Fn(E),
fn unwrap(self) -> Unwrap<Self> where
Self: Sized,
fn map_err<F, E>(self, f: F) -> MapErrGrinder<Self, F, E> where
Self: Sized,
F: Fn(E) -> Self::Error,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
fn lookaheadable(self) -> Lookahead<Self> where
Self: Sized,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: Fn(&<Self::Item as Chisel>::Value) -> bool,
Auto Trait Implementations
impl<T, F> RefUnwindSafe for Filter<T, F> where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F> Send for Filter<T, F> where
F: Send,
T: Send,
impl<T, F> Sync for Filter<T, F> where
F: Sync,
T: Sync,
impl<T, F> Unpin for Filter<T, F> where
F: Unpin,
T: Unpin,
impl<T, F> UnwindSafe for Filter<T, F> where
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more