Struct moore_common::grind::Lookahead
source · [−]pub struct Lookahead<T: Grinder> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<T> Grinder for Lookahead<T> where
T: Grinder,
impl<T> Grinder for Lookahead<T> where
T: Grinder,
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> RefUnwindSafe for Lookahead<T> where
T: RefUnwindSafe,
<T as Grinder>::Item: RefUnwindSafe,
impl<T> Send for Lookahead<T> where
T: Send,
<T as Grinder>::Item: Send,
impl<T> Sync for Lookahead<T> where
T: Sync,
<T as Grinder>::Item: Sync,
impl<T> Unpin for Lookahead<T> where
T: Unpin,
<T as Grinder>::Item: Unpin,
impl<T> UnwindSafe for Lookahead<T> where
T: UnwindSafe,
<T as Grinder>::Item: 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