pub struct TupleParser4<T1, T2, T3, T4> { /* private fields */ }Expand description
Parser implementation for a tuple of a specific size
Trait Implementations§
Source§impl<T1, T2, T3, T4> Default for TupleParser4<T1, T2, T3, T4>
impl<T1, T2, T3, T4> Default for TupleParser4<T1, T2, T3, T4>
Source§impl<Ctx: Clone, T1: Parser<Ctx>, T2: Parser<Ctx>, T3: Parser<Ctx>, T4: Parser<Ctx>> Parser<Ctx> for TupleParser4<T1, T2, T3, T4>
impl<Ctx: Clone, T1: Parser<Ctx>, T2: Parser<Ctx>, T3: Parser<Ctx>, T4: Parser<Ctx>> Parser<Ctx> for TupleParser4<T1, T2, T3, T4>
Source§type Value = (<T1 as Parser<Ctx>>::Value, <T2 as Parser<Ctx>>::Value, <T3 as Parser<Ctx>>::Value, <T4 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)
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> Freeze for TupleParser4<T1, T2, T3, T4>
impl<T1, T2, T3, T4> RefUnwindSafe for TupleParser4<T1, T2, T3, T4>
impl<T1, T2, T3, T4> Send for TupleParser4<T1, T2, T3, T4>
impl<T1, T2, T3, T4> Sync for TupleParser4<T1, T2, T3, T4>
impl<T1, T2, T3, T4> Unpin for TupleParser4<T1, T2, T3, T4>
impl<T1, T2, T3, T4> UnwindSafe for TupleParser4<T1, T2, T3, T4>
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