pub struct TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8> { /* private fields */ }Expand description
Parser implementation for a tuple of a specific size
Trait Implementations§
Source§impl<T1, T2, T3, T4, T5, T6, T7, T8> Default for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
impl<T1, T2, T3, T4, T5, T6, T7, T8> Default for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
Source§impl<Ctx: Clone, T1: Parser<Ctx>, T2: Parser<Ctx>, T3: Parser<Ctx>, T4: Parser<Ctx>, T5: Parser<Ctx>, T6: Parser<Ctx>, T7: Parser<Ctx>, T8: Parser<Ctx>> Parser<Ctx> for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
impl<Ctx: Clone, T1: Parser<Ctx>, T2: Parser<Ctx>, T3: Parser<Ctx>, T4: Parser<Ctx>, T5: Parser<Ctx>, T6: Parser<Ctx>, T7: Parser<Ctx>, T8: Parser<Ctx>> Parser<Ctx> for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
Source§type Value = (<T1 as Parser<Ctx>>::Value, <T2 as Parser<Ctx>>::Value, <T3 as Parser<Ctx>>::Value, <T4 as Parser<Ctx>>::Value, <T5 as Parser<Ctx>>::Value, <T6 as Parser<Ctx>>::Value, <T7 as Parser<Ctx>>::Value, <T8 as Parser<Ctx>>::Value)
type Value = (<T1 as Parser<Ctx>>::Value, <T2 as Parser<Ctx>>::Value, <T3 as Parser<Ctx>>::Value, <T4 as Parser<Ctx>>::Value, <T5 as Parser<Ctx>>::Value, <T6 as Parser<Ctx>>::Value, <T7 as Parser<Ctx>>::Value, <T8 as Parser<Ctx>>::Value)
The type that this parser will parse the input stream into.
Source§fn parse<'a>(
&self,
input: TokenStream<'a>,
ctx: Ctx,
) -> ParseResult<'a, Self::Value>
fn parse<'a>( &self, input: TokenStream<'a>, ctx: Ctx, ) -> ParseResult<'a, Self::Value>
Parsers the beginning of the token stream into a
Value. Read moreSource§fn complete<'a>(&self, input: TokenStream<'a>, ctx: Ctx) -> CompletionResult<'a>
fn complete<'a>(&self, input: TokenStream<'a>, ctx: Ctx) -> CompletionResult<'a>
Constructs the completion suggestions for the last token of the input stream Read more
Auto Trait Implementations§
impl<T1, T2, T3, T4, T5, T6, T7, T8> Freeze for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
impl<T1, T2, T3, T4, T5, T6, T7, T8> RefUnwindSafe for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>where
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
T5: RefUnwindSafe,
T6: RefUnwindSafe,
T7: RefUnwindSafe,
T8: RefUnwindSafe,
impl<T1, T2, T3, T4, T5, T6, T7, T8> Send for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
impl<T1, T2, T3, T4, T5, T6, T7, T8> Sync for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
impl<T1, T2, T3, T4, T5, T6, T7, T8> Unpin for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
impl<T1, T2, T3, T4, T5, T6, T7, T8> UnwindSafe for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>where
T1: UnwindSafe,
T2: UnwindSafe,
T3: UnwindSafe,
T4: UnwindSafe,
T5: UnwindSafe,
T6: UnwindSafe,
T7: UnwindSafe,
T8: 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