TupleParser8

Struct TupleParser8 

Source
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>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
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>

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)

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>

Parsers the beginning of the token stream into a Value. Read more
Source§

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>

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> Send for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
where T1: Send, T2: Send, T3: Send, T4: Send, T5: Send, T6: Send, T7: Send, T8: Send,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> Sync for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
where T1: Sync, T2: Sync, T3: Sync, T4: Sync, T5: Sync, T6: Sync, T7: Sync, T8: Sync,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> Unpin for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>
where T1: Unpin, T2: Unpin, T3: Unpin, T4: Unpin, T5: Unpin, T6: Unpin, T7: Unpin, T8: Unpin,

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> UnwindSafe for TupleParser8<T1, T2, T3, T4, T5, T6, T7, T8>

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> ParsableTransformation<Box<T>> for T

Source§

type Input = T

The type that will be transformed by the implementation if this trait (Self::Input -> O).
Source§

fn transform( input: <T as ParsableTransformation<Box<T>>>::Input, ) -> Result<Box<T>, ParseError<'static>>

Performs the transformation.
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.