Struct SeqAlt11

Source
pub struct SeqAlt11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> { /* private fields */ }

Trait Implementations§

Source§

impl<'a, I: ?Sized + Sequence, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, E: ParserError, P1, T1, P2, T2, P3, T3, P4, T4, P5, T5, P6, T6, P7, T7, P8, T8, P9, T9, P10, T10, P11, T11> Parser<'a, I, (O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11), E, SeqAlt11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>> for Permutation<(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)>
where P1: Parser<'a, I, O1, E, T1>, P2: Parser<'a, I, O2, E, T2>, P3: Parser<'a, I, O3, E, T3>, P4: Parser<'a, I, O4, E, T4>, P5: Parser<'a, I, O5, E, T5>, P6: Parser<'a, I, O6, E, T6>, P7: Parser<'a, I, O7, E, T7>, P8: Parser<'a, I, O8, E, T8>, P9: Parser<'a, I, O9, E, T9>, P10: Parser<'a, I, O10, E, T10>, P11: Parser<'a, I, O11, E, T11>,

Source§

fn fab( &self, input: &mut &'a I, ) -> Result<(O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11), 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,

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,

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,

This parser first maps the input, and if the result is Option::Some or Result::Ok, it unwraps the input. Othewise, the parser fails.
Source§

fn fab_repeat(self) -> Repeat<Self, I, O, E, fn(&mut Vec<O>, O), Vec<O>>
where Self: Sized, O: Clone,

Repeats the underlying parser, returning the results in a Vec. This parser will accept any number of repetitions, including 0. Read more

Auto Trait Implementations§

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Freeze for SeqAlt11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> RefUnwindSafe for SeqAlt11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Send for SeqAlt11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
where T1: Send, T2: Send, T3: Send, T4: Send, T5: Send, T6: Send, T7: Send, T8: Send, T9: Send, T10: Send, T11: Send,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Sync for SeqAlt11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
where T1: Sync, T2: Sync, T3: Sync, T4: Sync, T5: Sync, T6: Sync, T7: Sync, T8: Sync, T9: Sync, T10: Sync, T11: Sync,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Unpin for SeqAlt11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
where T1: Unpin, T2: Unpin, T3: Unpin, T4: Unpin, T5: Unpin, T6: Unpin, T7: Unpin, T8: Unpin, T9: Unpin, T10: Unpin, T11: Unpin,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> UnwindSafe for SeqAlt11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.