Struct parsed::parser::Skip [−][src]
Trait Implementations
impl<M, T, U> Matcher<T> for Skip<M, T, U> where
M: Matcher<(T, U)>,
[src]
M: Matcher<(T, U)>,
fn do_match(&self, bs: &mut ByteStream) -> Result<T, MatchError>
[src]
fn boxed(self) -> Box<dyn Matcher<T>> where
Self: Sized + 'static,
[src]
Self: Sized + 'static,
fn then<U, That>(self, that: That) -> Chain<Self, That> where
Self: Sized,
That: Matcher<U>,
[src]
Self: Sized,
That: Matcher<U>,
fn then_with<U, F, N>(self, f: F) -> Expose<Self, F> where
Self: Sized,
F: Fn(&T) -> N + 'static,
N: Matcher<U>,
[src]
Self: Sized,
F: Fn(&T) -> N + 'static,
N: Matcher<U>,
fn map<U, F>(self, f: F) -> Map<Self, T, F> where
Self: Sized,
F: Fn(T) -> U + 'static,
[src]
Self: Sized,
F: Fn(T) -> U + 'static,
fn then_map<U, That, F, V>(
self,
that: That,
f: F
) -> Map<Chain<Self, That>, (T, U), F> where
Self: Sized,
That: Matcher<U>,
F: Fn((T, U)) -> V + 'static,
[src]
self,
that: That,
f: F
) -> Map<Chain<Self, That>, (T, U), F> where
Self: Sized,
That: Matcher<U>,
F: Fn((T, U)) -> V + 'static,
Auto Trait Implementations
impl<M, T, U> RefUnwindSafe for Skip<M, T, U> where
M: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<M, T, U> Send for Skip<M, T, U> where
M: Send,
T: Send,
U: Send,
M: Send,
T: Send,
U: Send,
impl<M, T, U> Sync for Skip<M, T, U> where
M: Sync,
T: Sync,
U: Sync,
M: Sync,
T: Sync,
U: Sync,
impl<M, T, U> Unpin for Skip<M, T, U> where
M: Unpin,
T: Unpin,
U: Unpin,
M: Unpin,
T: Unpin,
U: Unpin,
impl<M, T, U> UnwindSafe for Skip<M, T, U> where
M: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
M: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<M, T, U> ParserExt<T, U> for M where
M: Matcher<(T, U)>,
[src]
M: Matcher<(T, U)>,
pub fn save<F>(Self, F) -> Save<M, T, U, F> where
F: 'static + Fn(&mut T, U),
[src]
F: 'static + Fn(&mut T, U),
pub fn skip(Self) -> Skip<M, T, U>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,