pub enum LeadingRuleContext {
Prefix,
Infix {
op_idx: u8,
next_prec: u8,
checkpoint: usize,
},
}Expand description
Leading rule context for Pratt work items
Variants§
Trait Implementations§
Source§impl Clone for LeadingRuleContext
impl Clone for LeadingRuleContext
Source§fn clone(&self) -> LeadingRuleContext
fn clone(&self) -> LeadingRuleContext
Returns a duplicate 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 Debug for LeadingRuleContext
impl Debug for LeadingRuleContext
impl Copy for LeadingRuleContext
Auto Trait Implementations§
impl Freeze for LeadingRuleContext
impl RefUnwindSafe for LeadingRuleContext
impl Send for LeadingRuleContext
impl Sync for LeadingRuleContext
impl Unpin for LeadingRuleContext
impl UnsafeUnpin for LeadingRuleContext
impl UnwindSafe for LeadingRuleContext
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