pub enum ReduceType {
Left,
Right,
}Expand description
for resolving shift/reduce conflict
Variants§
Trait Implementations§
Source§impl Clone for ReduceType
impl Clone for ReduceType
Source§fn clone(&self) -> ReduceType
fn clone(&self) -> ReduceType
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 Debug for ReduceType
impl Debug for ReduceType
Source§impl Display for ReduceType
impl Display for ReduceType
Source§impl Ord for ReduceType
impl Ord for ReduceType
Source§fn cmp(&self, other: &ReduceType) -> Ordering
fn cmp(&self, other: &ReduceType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReduceType
impl PartialEq for ReduceType
Source§impl PartialOrd for ReduceType
impl PartialOrd for ReduceType
impl Copy for ReduceType
impl Eq for ReduceType
impl StructuralPartialEq for ReduceType
Auto Trait Implementations§
impl Freeze for ReduceType
impl RefUnwindSafe for ReduceType
impl Send for ReduceType
impl Sync for ReduceType
impl Unpin for ReduceType
impl UnwindSafe for ReduceType
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