pub struct Expose<M, F> { /* private fields */ }
Trait Implementations§
Source§impl<M, F, N, T, U> Matcher<(T, U)> for Expose<M, F>
impl<M, F, N, T, U> Matcher<(T, U)> for Expose<M, F>
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, F> Freeze for Expose<M, F>
impl<M, F> RefUnwindSafe for Expose<M, F>where
M: RefUnwindSafe,
F: RefUnwindSafe,
impl<M, F> Send for Expose<M, F>
impl<M, F> Sync for Expose<M, F>
impl<M, F> Unpin for Expose<M, F>
impl<M, F> UnwindSafe for Expose<M, F>where
M: UnwindSafe,
F: 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