pub struct Alt10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> { /* private fields */ }
Trait Implementations§
Source§impl<'a, I: ?Sized + Sequence, O, E: ParserError, P1, T1, P2, T2, P3, T3, P4, T4, P5, T5, P6, T6, P7, T7, P8, T8, P9, T9, P10, T10> Parser<'a, I, O, E, Alt10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>> for Alt<(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)>
impl<'a, I: ?Sized + Sequence, O, E: ParserError, P1, T1, P2, T2, P3, T3, P4, T4, P5, T5, P6, T6, P7, T7, P8, T8, P9, T9, P10, T10> Parser<'a, I, O, E, Alt10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>> for Alt<(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)>
Source§fn fab(&self, input: &mut &'a I) -> Result<O, E>
fn fab(&self, input: &mut &'a I) -> Result<O, E>
Parses the input. This method advances the input reference to the remaining
unparsed input. The method is named “fab” instead of “parse” to avoid conflicts
with the “parse” method of &str.
Source§fn fab_value<V: Clone>(self, value: V) -> Value<Self, V, I, O, E>where
Self: Sized,
fn fab_value<V: Clone>(self, value: V) -> Value<Self, V, I, O, E>where
Self: Sized,
Returns a parser that replaces the output of the underlying parser with V.
Source§fn fab_map<F>(self, func: F) -> ParserMap<Self, I, O, E, F>where
Self: Sized,
fn fab_map<F>(self, func: F) -> ParserMap<Self, I, O, E, F>where
Self: Sized,
This creates a Map parser that applies the function to the
output of the underlying parser.
Source§fn fab_try_map<F>(self, func: F) -> ParserTryMap<Self, I, O, E, F>where
Self: Sized,
fn fab_try_map<F>(self, func: F) -> ParserTryMap<Self, I, O, E, F>where
Self: Sized,
This parser first maps the input, and if the result is Option::Some or Result::Ok,
it unwraps the input. Othewise, the parser fails.
Auto Trait Implementations§
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Freeze for Alt10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> RefUnwindSafe for Alt10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>where
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
T5: RefUnwindSafe,
T6: RefUnwindSafe,
T7: RefUnwindSafe,
T8: RefUnwindSafe,
T9: RefUnwindSafe,
T10: RefUnwindSafe,
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Send for Alt10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Sync for Alt10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Unpin for Alt10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> UnwindSafe for Alt10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>where
T1: UnwindSafe,
T2: UnwindSafe,
T3: UnwindSafe,
T4: UnwindSafe,
T5: UnwindSafe,
T6: UnwindSafe,
T7: UnwindSafe,
T8: UnwindSafe,
T9: UnwindSafe,
T10: 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