pub struct LookaheadRule<Term, NonTerm> {
pub rule: ShiftedRule<Term, NonTerm>,
pub lookaheads: BTreeSet<Term>,
}Expand description
shifted rule with lookahead tokens
Fields§
§rule: ShiftedRule<Term, NonTerm>§lookaheads: BTreeSet<Term>Trait Implementations§
Source§impl<Term, NonTerm> Clone for LookaheadRule<Term, NonTerm>
impl<Term, NonTerm> Clone for LookaheadRule<Term, NonTerm>
Source§fn clone(&self) -> LookaheadRule<Term, NonTerm>
fn clone(&self) -> LookaheadRule<Term, NonTerm>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Term, NonTerm> Debug for LookaheadRule<Term, NonTerm>
impl<Term, NonTerm> Debug for LookaheadRule<Term, NonTerm>
Auto Trait Implementations§
impl<Term, NonTerm> Freeze for LookaheadRule<Term, NonTerm>where
NonTerm: Freeze,
impl<Term, NonTerm> RefUnwindSafe for LookaheadRule<Term, NonTerm>where
NonTerm: RefUnwindSafe,
Term: RefUnwindSafe,
impl<Term, NonTerm> Send for LookaheadRule<Term, NonTerm>
impl<Term, NonTerm> Sync for LookaheadRule<Term, NonTerm>
impl<Term, NonTerm> Unpin for LookaheadRule<Term, NonTerm>
impl<Term, NonTerm> UnwindSafe for LookaheadRule<Term, NonTerm>
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