#[repr(u8)]pub enum BooleanOperator {
And = 0,
Or = 1,
Xor = 2,
Equiv = 3,
Nand = 4,
Nor = 5,
Imp = 6,
ImpStrict = 7,
}
Expand description
Binary operators on Boolean functions
The operators are used by the combined apply and quantification operations of
the BooleanFunctionQuant
trait. The operators themselves correspond to the
ones defined in BooleanFunction
.
Variants§
And = 0
Conjunction lhs ∧ rhs
Or = 1
Disjunction lhs ∨ rhs
Xor = 2
Exclusive disjunction lhs ⊕ rhs
Equiv = 3
Equivalence lhs ↔ rhs
Nand = 4
Negated conjunction lhs ⊼ rhs
Nor = 5
Negated disjunction lhs ⊽ rhs
Imp = 6
Implication lhs → rhs
ImpStrict = 7
Strict implication lhs < rhs
Trait Implementations§
Source§impl Clone for BooleanOperator
impl Clone for BooleanOperator
Source§fn clone(&self) -> BooleanOperator
fn clone(&self) -> BooleanOperator
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 Countable for BooleanOperator
cbindgen:ignore
impl Countable for BooleanOperator
cbindgen:ignore
Source§impl Debug for BooleanOperator
impl Debug for BooleanOperator
Source§impl Display for BooleanOperator
cbindgen:ignore
impl Display for BooleanOperator
cbindgen:ignore
Source§impl Hash for BooleanOperator
impl Hash for BooleanOperator
Source§impl Ord for BooleanOperator
impl Ord for BooleanOperator
Source§fn cmp(&self, other: &BooleanOperator) -> Ordering
fn cmp(&self, other: &BooleanOperator) -> 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 BooleanOperator
impl PartialEq for BooleanOperator
Source§impl PartialOrd for BooleanOperator
impl PartialOrd for BooleanOperator
impl Copy for BooleanOperator
impl Eq for BooleanOperator
impl StructuralPartialEq for BooleanOperator
Auto Trait Implementations§
impl Freeze for BooleanOperator
impl RefUnwindSafe for BooleanOperator
impl Send for BooleanOperator
impl Sync for BooleanOperator
impl Unpin for BooleanOperator
impl UnwindSafe for BooleanOperator
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