[][src]Struct rspg::lr1::parser::Reduce

pub struct Reduce<Parsed, Token> {
    pub rule: RuleIndex,
    pub from: SymbolStackItemString<Parsed, Token>,
    pub to: NonterminalIndex,
}

Fields

rule: RuleIndexfrom: SymbolStackItemString<Parsed, Token>to: NonterminalIndex

Trait Implementations

impl<Parsed: Clone, Token: Clone> Clone for Reduce<Parsed, Token>[src]

impl<Parsed: Debug, Token: Debug> Debug for Reduce<Parsed, Token>[src]

impl<N, T, Parsed, Token> DisplayWith<Grammar<N, T>> for Reduce<Parsed, Token> where
    N: Display + Ord,
    T: Ord,
    Token: Debug,
    Parsed: Debug
[src]

Auto Trait Implementations

impl<Parsed, Token> RefUnwindSafe for Reduce<Parsed, Token> where
    Parsed: RefUnwindSafe,
    Token: RefUnwindSafe

impl<Parsed, Token> Send for Reduce<Parsed, Token> where
    Parsed: Send,
    Token: Send

impl<Parsed, Token> Sync for Reduce<Parsed, Token> where
    Parsed: Sync,
    Token: Sync

impl<Parsed, Token> Unpin for Reduce<Parsed, Token> where
    Parsed: Unpin,
    Token: Unpin

impl<Parsed, Token> UnwindSafe for Reduce<Parsed, Token> where
    Parsed: UnwindSafe,
    Token: UnwindSafe

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.