Skip to main content

Sequence9

Struct Sequence9 

Source
pub struct Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> {
    pub field_0: T0,
    pub field_1: T1,
    pub field_2: T2,
    pub field_3: T3,
    pub field_4: T4,
    pub field_5: T5,
    pub field_6: T6,
    pub field_7: T7,
    pub field_8: T8,
    /* private fields */
}
Expand description

Sequence type generated by pest::sequence_type!.

  • 0: No trivia.
  • 1: Optional trivia.
  • 2: Mandatory trivia.

Fields§

§field_0: T0

Field for T0.

§field_1: T1

Field for T1.

§field_2: T2

Field for T2.

§field_3: T3

Field for T3.

§field_4: T4

Field for T4.

§field_5: T5

Field for T5.

§field_6: T6

Field for T6.

§field_7: T7

Field for T7.

§field_8: T8

Field for T8.

Implementations§

Source§

impl<'i, T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>

Source

pub fn as_tuple(&self) -> (&T0, &T1, &T2, &T3, &T4, &T5, &T6, &T7, &T8)

As a tuple of references.

Source

pub fn into_tuple(self) -> (T0, T1, T2, T3, T4, T5, T6, T7, T8)

Into a tuple of values.

Trait Implementations§

Source§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> Clone for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>
where T0: Clone, TR0: Clone, T1: Clone, TR1: Clone, T2: Clone, TR2: Clone, T3: Clone, TR3: Clone, T4: Clone, TR4: Clone, T5: Clone, TR5: Clone, T6: Clone, TR6: Clone, T7: Clone, TR7: Clone, T8: Clone, TR8: Clone,

Source§

fn clone( &self, ) -> Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> Debug for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>
where T0: Debug, TR0: Debug, T1: Debug, TR1: Debug, T2: Debug, TR2: Debug, T3: Debug, TR3: Debug, T4: Debug, TR4: Debug, T5: Debug, TR5: Debug, T6: Debug, TR6: Debug, T7: Debug, TR7: Debug, T8: Debug, TR8: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> Eq for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>
where T0: Eq, TR0: Eq, T1: Eq, TR1: Eq, T2: Eq, TR2: Eq, T3: Eq, TR3: Eq, T4: Eq, TR4: Eq, T5: Eq, TR5: Eq, T6: Eq, TR6: Eq, T7: Eq, TR7: Eq, T8: Eq, TR8: Eq,

Source§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> Hash for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>
where T0: Hash, TR0: Hash, T1: Hash, TR1: Hash, T2: Hash, TR2: Hash, T3: Hash, TR3: Hash, T4: Hash, TR4: Hash, T5: Hash, TR5: Hash, T6: Hash, TR6: Hash, T7: Hash, TR7: Hash, T8: Hash, TR8: Hash,

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl<R, T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> PairContainer<R> for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>
where T0: PairContainer<R>, T1: PairContainer<R>, T2: PairContainer<R>, T3: PairContainer<R>, T4: PairContainer<R>, T5: PairContainer<R>, T6: PairContainer<R>, T7: PairContainer<R>, T8: PairContainer<R>,

Source§

fn for_each_child_pair(&self, f: &mut impl FnMut(Pair<R>))

For each child pair.
Source§

fn for_self_or_for_each_child_pair(&self, f: &mut impl FnMut(Pair<R>))

for Self as a pair if it is, otherwise for each child pair.
Source§

fn vec_children_pairs(&self) -> Vec<Pair<R>>

Convert children pairs into a Vec.
Source§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> PartialEq for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>
where T0: PartialEq, TR0: PartialEq, T1: PartialEq, TR1: PartialEq, T2: PartialEq, TR2: PartialEq, T3: PartialEq, TR3: PartialEq, T4: PartialEq, TR4: PartialEq, T5: PartialEq, TR5: PartialEq, T6: PartialEq, TR6: PartialEq, T7: PartialEq, TR7: PartialEq, T8: PartialEq, TR8: PartialEq,

Source§

fn eq( &self, other: &Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>, ) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> StructuralPartialEq for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>
where T0: PartialEq, TR0: PartialEq, T1: PartialEq, TR1: PartialEq, T2: PartialEq, TR2: PartialEq, T3: PartialEq, TR3: PartialEq, T4: PartialEq, TR4: PartialEq, T5: PartialEq, TR5: PartialEq, T6: PartialEq, TR6: PartialEq, T7: PartialEq, TR7: PartialEq, T8: PartialEq, TR8: PartialEq,

Source§

impl<'i, R, T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> TypedNode<'i, R> for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>
where R: RuleType, T0: TypedNode<'i, R>, TR0: TypedNode<'i, R>, T1: TypedNode<'i, R>, TR1: TypedNode<'i, R>, T2: TypedNode<'i, R>, TR2: TypedNode<'i, R>, T3: TypedNode<'i, R>, TR3: TypedNode<'i, R>, T4: TypedNode<'i, R>, TR4: TypedNode<'i, R>, T5: TypedNode<'i, R>, TR5: TypedNode<'i, R>, T6: TypedNode<'i, R>, TR6: TypedNode<'i, R>, T7: TypedNode<'i, R>, TR7: TypedNode<'i, R>, T8: TypedNode<'i, R>, TR8: TypedNode<'i, R>,

Source§

fn try_parse_with_partial( input: Position<'i>, stack: &mut Stack<Span<'i>>, tracker: &mut Tracker<'i, R>, ) -> Option<(Position<'i>, Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>)>

Try parse a part of or all of remained string into a node.
Source§

fn check_with_partial( input: Position<'i>, stack: &mut Stack<Span<'i>>, tracker: &mut Tracker<'i, R>, ) -> Option<Position<'i>>

Check whether the some leading part of the result can be accepted.
Source§

fn try_parse_with( input: Position<'i>, stack: &mut Stack<Span<'i>>, tracker: &mut Tracker<'i, R>, ) -> Option<Self>

Try parse remained string into a node.
Source§

fn try_parse_partial( input: &'i str, ) -> Result<(Position<'i>, Self), Box<Error<R>>>

Try parsing leading part of string into a node.
Source§

fn try_parse(input: &'i str) -> Result<Self, Box<Error<R>>>

Try parsing given string into a node.
Source§

fn check_with( input: Position<'i>, stack: &mut Stack<Span<'i>>, tracker: &mut Tracker<'i, R>, ) -> bool

Check whether the some leading part of the result can be accepted.
Source§

fn check_partial(input: &'i str) -> Result<Position<'i>, Box<Error<R>>>

Try parsing leading part of string into a node.
Source§

fn check(input: &'i str) -> Result<(), Box<Error<R>>>

Try parsing given string into a node.

Auto Trait Implementations§

§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> Freeze for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>

§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> RefUnwindSafe for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>

§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> Send for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>
where T0: Send, T1: Send, T2: Send, T3: Send, T4: Send, T5: Send, T6: Send, T7: Send, T8: Send, PhantomData<(TR0, TR1, TR2, TR3, TR4, TR5, TR6, TR7, TR8)>: Send,

§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> Sync for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>
where T0: Sync, T1: Sync, T2: Sync, T3: Sync, T4: Sync, T5: Sync, T6: Sync, T7: Sync, T8: Sync, PhantomData<(TR0, TR1, TR2, TR3, TR4, TR5, TR6, TR7, TR8)>: Sync,

§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> Unpin for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>

§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> UnsafeUnpin for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>

§

impl<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8> UnwindSafe for Sequence9<T0, TR0, T1, TR1, T2, TR2, T3, TR3, T4, TR4, T5, TR5, T6, TR6, T7, TR7, T8, TR8>

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

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.