Struct parol_runtime::parser::lookahead_dfa::Trans
source · pub struct Trans(pub StateIndex, pub TerminalIndex, pub StateIndex, pub CompiledProductionIndex);Expand description
The transitions contain tuples: “from-state -> terminal-index -> to-state -> production index”
Tuple Fields§
§0: StateIndex§1: TerminalIndex§2: StateIndex§3: CompiledProductionIndexTrait Implementations§
source§impl PartialEq<Trans> for Trans
impl PartialEq<Trans> for Trans
impl Eq for Trans
impl StructuralEq for Trans
impl StructuralPartialEq for Trans
Auto Trait Implementations§
impl RefUnwindSafe for Trans
impl Send for Trans
impl Sync for Trans
impl Unpin for Trans
impl UnwindSafe for Trans
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more