[][src]Enum panini_logic::middle::flatten_stmts::Position

pub enum Position {
    Alternative(usize),
    Idx(usize),
    IdxWithFragment {
        idx: usize,
        fragment: FragmentId,
    },
    StmtFragment(FragmentId),
    StmtIdx(usize),
    Bind(BindId),
    Sequence {
        min: u32,
        max: Option<u32>,
    },
    SequenceEnd,
    SequenceToken,
    Max,
}

Variants

Alternative(usize)
Idx(usize)
IdxWithFragment

Fields of IdxWithFragment

idx: usizefragment: FragmentId
StmtFragment(FragmentId)
StmtIdx(usize)
Bind(BindId)
Sequence

Fields of Sequence

min: u32max: Option<u32>
SequenceEnd
SequenceToken
Max

Trait Implementations

impl Clone for Position[src]

impl Copy for Position[src]

impl Eq for Position[src]

impl Ord for Position[src]

impl PartialEq<Position> for Position[src]

impl PartialOrd<Position> for Position[src]

impl Debug for Position[src]

impl Hash for Position[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<E> SpecializationError for E[src]

impl<T> Erased for T[src]

impl<T> ArenaAllocatable for T where
    T: Copy
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]