pub enum PropBinary {
Iff,
Implies,
Or,
And,
}
Expand description
Deriving PartialOrd
and Ord
on this enum means that, by ordering the
fields in increasing order of precedence, no other work has to be done
to make sure the relative precedence of operators is understood.
Variants§
Trait Implementations§
Source§impl Clone for PropBinary
impl Clone for PropBinary
Source§fn clone(&self) -> PropBinary
fn clone(&self) -> PropBinary
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 PropBinary
impl Debug for PropBinary
Source§impl Default for PropBinary
impl Default for PropBinary
Source§fn default() -> PropBinary
fn default() -> PropBinary
Returns the “default value” for a type. Read more
Source§impl Display for PropBinary
impl Display for PropBinary
Source§impl Hash for PropBinary
impl Hash for PropBinary
Source§impl Match for PropBinary
impl Match for PropBinary
Source§impl Ord for PropBinary
impl Ord for PropBinary
Source§fn cmp(&self, other: &PropBinary) -> Ordering
fn cmp(&self, other: &PropBinary) -> 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 PropBinary
impl PartialEq for PropBinary
Source§impl PartialOrd for PropBinary
impl PartialOrd for PropBinary
Source§impl Sequence for PropBinary
impl Sequence for PropBinary
impl Copy for PropBinary
impl Eq for PropBinary
impl StructuralPartialEq for PropBinary
impl Symbolic for PropBinary
Auto Trait Implementations§
impl Freeze for PropBinary
impl RefUnwindSafe for PropBinary
impl Send for PropBinary
impl Sync for PropBinary
impl Unpin for PropBinary
impl UnwindSafe for PropBinary
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