Enum cfg::binarized::BinarizedRuleRhs
source · pub enum BinarizedRuleRhs {
One([Symbol; 1]),
Two([Symbol; 2]),
}
Expand description
Compact representation of a binarized rule’s RHS.
Variants§
Trait Implementations§
source§impl Clone for BinarizedRuleRhs
impl Clone for BinarizedRuleRhs
source§fn clone(&self) -> BinarizedRuleRhs
fn clone(&self) -> BinarizedRuleRhs
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 Ord for BinarizedRuleRhs
impl Ord for BinarizedRuleRhs
source§fn cmp(&self, other: &BinarizedRuleRhs) -> Ordering
fn cmp(&self, other: &BinarizedRuleRhs) -> 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 BinarizedRuleRhs
impl PartialEq for BinarizedRuleRhs
source§fn eq(&self, other: &BinarizedRuleRhs) -> bool
fn eq(&self, other: &BinarizedRuleRhs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BinarizedRuleRhs
impl PartialOrd for BinarizedRuleRhs
source§fn partial_cmp(&self, other: &BinarizedRuleRhs) -> Option<Ordering>
fn partial_cmp(&self, other: &BinarizedRuleRhs) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BinarizedRuleRhs
impl Eq for BinarizedRuleRhs
impl StructuralEq for BinarizedRuleRhs
impl StructuralPartialEq for BinarizedRuleRhs
Auto Trait Implementations§
impl RefUnwindSafe for BinarizedRuleRhs
impl Send for BinarizedRuleRhs
impl Sync for BinarizedRuleRhs
impl Unpin for BinarizedRuleRhs
impl UnwindSafe for BinarizedRuleRhs
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