pub struct TupleParser6<T1, T2, T3, T4, T5, T6> { /* private fields */ }Expand description
Parser implementation for a tuple of a specific size
Trait Implementations§
Source§impl<T1, T2, T3, T4, T5, T6> Default for TupleParser6<T1, T2, T3, T4, T5, T6>
impl<T1, T2, T3, T4, T5, T6> Default for TupleParser6<T1, T2, T3, T4, T5, T6>
Source§impl<Ctx: Clone, T1: Parser<Ctx>, T2: Parser<Ctx>, T3: Parser<Ctx>, T4: Parser<Ctx>, T5: Parser<Ctx>, T6: Parser<Ctx>> Parser<Ctx> for TupleParser6<T1, T2, T3, T4, T5, T6>
impl<Ctx: Clone, T1: Parser<Ctx>, T2: Parser<Ctx>, T3: Parser<Ctx>, T4: Parser<Ctx>, T5: Parser<Ctx>, T6: Parser<Ctx>> Parser<Ctx> for TupleParser6<T1, T2, T3, T4, T5, T6>
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)
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)
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 moreAuto Trait Implementations§
impl<T1, T2, T3, T4, T5, T6> Freeze for TupleParser6<T1, T2, T3, T4, T5, T6>where
PhantomData<T1>: Freeze,
PhantomData<T2>: Freeze,
PhantomData<T3>: Freeze,
PhantomData<T4>: Freeze,
PhantomData<T5>: Freeze,
PhantomData<T6>: Freeze,
impl<T1, T2, T3, T4, T5, T6> RefUnwindSafe for TupleParser6<T1, T2, T3, T4, T5, T6>where
PhantomData<T1>: RefUnwindSafe,
PhantomData<T2>: RefUnwindSafe,
PhantomData<T3>: RefUnwindSafe,
PhantomData<T4>: RefUnwindSafe,
PhantomData<T5>: RefUnwindSafe,
PhantomData<T6>: RefUnwindSafe,
impl<T1, T2, T3, T4, T5, T6> Send for TupleParser6<T1, T2, T3, T4, T5, T6>where
PhantomData<T1>: Send,
PhantomData<T2>: Send,
PhantomData<T3>: Send,
PhantomData<T4>: Send,
PhantomData<T5>: Send,
PhantomData<T6>: Send,
impl<T1, T2, T3, T4, T5, T6> Sync for TupleParser6<T1, T2, T3, T4, T5, T6>where
PhantomData<T1>: Sync,
PhantomData<T2>: Sync,
PhantomData<T3>: Sync,
PhantomData<T4>: Sync,
PhantomData<T5>: Sync,
PhantomData<T6>: Sync,
impl<T1, T2, T3, T4, T5, T6> Unpin for TupleParser6<T1, T2, T3, T4, T5, T6>where
PhantomData<T1>: Unpin,
PhantomData<T2>: Unpin,
PhantomData<T3>: Unpin,
PhantomData<T4>: Unpin,
PhantomData<T5>: Unpin,
PhantomData<T6>: Unpin,
impl<T1, T2, T3, T4, T5, T6> UnsafeUnpin for TupleParser6<T1, T2, T3, T4, T5, T6>where
PhantomData<T1>: UnsafeUnpin,
PhantomData<T2>: UnsafeUnpin,
PhantomData<T3>: UnsafeUnpin,
PhantomData<T4>: UnsafeUnpin,
PhantomData<T5>: UnsafeUnpin,
PhantomData<T6>: UnsafeUnpin,
impl<T1, T2, T3, T4, T5, T6> UnwindSafe for TupleParser6<T1, T2, T3, T4, T5, T6>where
PhantomData<T1>: UnwindSafe,
PhantomData<T2>: UnwindSafe,
PhantomData<T3>: UnwindSafe,
PhantomData<T4>: UnwindSafe,
PhantomData<T5>: UnwindSafe,
PhantomData<T6>: 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