Struct parol_runtime::parser::lookahead_dfa::DFATransition
source · [−]pub struct DFATransition(pub StateIndex, pub TerminalIndex, pub StateIndex);Expand description
The transitions contain tuples: “from-state -> terminal-index -> to-state”
Tuple Fields
0: StateIndex1: TerminalIndex2: StateIndexTrait Implementations
sourceimpl Clone for DFATransition
impl Clone for DFATransition
sourcefn clone(&self) -> DFATransition
fn clone(&self) -> DFATransition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DFATransition
impl Debug for DFATransition
sourceimpl Default for DFATransition
impl Default for DFATransition
sourcefn default() -> DFATransition
fn default() -> DFATransition
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DFATransition> for DFATransition
impl PartialEq<DFATransition> for DFATransition
sourcefn eq(&self, other: &DFATransition) -> bool
fn eq(&self, other: &DFATransition) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DFATransition) -> bool
fn ne(&self, other: &DFATransition) -> bool
This method tests for !=.
impl Eq for DFATransition
impl StructuralEq for DFATransition
impl StructuralPartialEq for DFATransition
Auto Trait Implementations
impl RefUnwindSafe for DFATransition
impl Send for DFATransition
impl Sync for DFATransition
impl Unpin for DFATransition
impl UnwindSafe for DFATransition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more