pub struct AltParser<T>(/* private fields */);Trait Implementations§
Source§impl<'s, 't, Token, Output, T0> Parser<'s, 't, Token, Output> for AltParser<(T0,)>where
T0: Parser<'s, 't, Token, Output>,
impl<'s, 't, Token, Output, T0> Parser<'s, 't, Token, Output> for AltParser<(T0,)>where
T0: Parser<'s, 't, Token, Output>,
Source§impl<'s, 't, Token, Output, T0, T1, T2> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2)>
impl<'s, 't, Token, Output, T0, T1, T2> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2)>
Source§impl<'s, 't, Token, Output, T0, T1, T2, T3> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2, T3)>
impl<'s, 't, Token, Output, T0, T1, T2, T3> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2, T3)>
Source§impl<'s, 't, Token, Output, T0, T1, T2, T3, T4> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2, T3, T4)>
impl<'s, 't, Token, Output, T0, T1, T2, T3, T4> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2, T3, T4)>
Source§impl<'s, 't, Token, Output, T0, T1, T2, T3, T4, T5> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2, T3, T4, T5)>
impl<'s, 't, Token, Output, T0, T1, T2, T3, T4, T5> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2, T3, T4, T5)>
Source§impl<'s, 't, Token, Output, T0, T1, T2, T3, T4, T5, T6> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2, T3, T4, T5, T6)>
impl<'s, 't, Token, Output, T0, T1, T2, T3, T4, T5, T6> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2, T3, T4, T5, T6)>
Source§impl<'s, 't, Token, Output, T0, T1, T2, T3, T4, T5, T6, T7> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2, T3, T4, T5, T6, T7)>
impl<'s, 't, Token, Output, T0, T1, T2, T3, T4, T5, T6, T7> Parser<'s, 't, Token, Output> for AltParser<(T0, T1, T2, T3, T4, T5, T6, T7)>
Auto Trait Implementations§
impl<T> Freeze for AltParser<T>where
T: Freeze,
impl<T> RefUnwindSafe for AltParser<T>where
T: RefUnwindSafe,
impl<T> Send for AltParser<T>where
T: Send,
impl<T> Sync for AltParser<T>where
T: Sync,
impl<T> Unpin for AltParser<T>where
T: Unpin,
impl<T> UnwindSafe for AltParser<T>where
T: 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more