pub struct Chain<M, N>(/* private fields */);Trait Implementations§
Source§impl<M, N, T, U> Matcher<(T, U)> for Chain<M, N>
impl<M, N, T, U> Matcher<(T, U)> for Chain<M, N>
fn do_match(&self, bs: &mut ByteStream) -> Result<(T, U), MatchError>
fn boxed(self) -> Box<dyn Matcher<T>>where
Self: Sized + 'static,
fn then<U, That>(self, that: That) -> Chain<Self, That>
fn then_with<U, F, N>(self, f: F) -> Expose<Self, F>
fn map<U, F>(self, f: F) -> Map<Self, T, F>
fn then_map<U, That, F, V>( self, that: That, f: F, ) -> Map<Chain<Self, That>, (T, U), F>
Auto Trait Implementations§
impl<M, N> Freeze for Chain<M, N>
impl<M, N> RefUnwindSafe for Chain<M, N>where
M: RefUnwindSafe,
N: RefUnwindSafe,
impl<M, N> Send for Chain<M, N>
impl<M, N> Sync for Chain<M, N>
impl<M, N> Unpin for Chain<M, N>
impl<M, N> UnwindSafe for Chain<M, N>where
M: UnwindSafe,
N: 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