pub enum ConnectiveOperator {
Negation,
Conjunction,
Disjunction,
ExclusiveDisjunction,
Implication,
Biconditional,
}
Variants§
Negation
Corresponds to the grammar rule negation
. Uses the prefix keyword not
or the operator $\lnot$.
Conjunction
Corresponds to the grammar rule conjunction
. Uses the infix keyword and
or the operator $\land$.
Disjunction
Corresponds to the grammar rule disjunction
. Uses the infix keyword or
or the operator $\lor$.
ExclusiveDisjunction
Corresponds to the grammar rule exclusive_disjunction
. Uses the infix keyword xor
or the operator $\veebar$. Note that this operation is not a part of ISO Common Logic but
$a \veebar b$ can be rewritten as $\lnot (a \iff b)$
Implication
Corresponds to the grammar rule implication
. Uses the infix keyword implies
or the operator $\implies$.
Biconditional
Corresponds to the grammar rule biconditional
. Uses the infix keyword iff
or the operator $\iff$.
Trait Implementations§
Source§impl Clone for ConnectiveOperator
impl Clone for ConnectiveOperator
Source§fn clone(&self) -> ConnectiveOperator
fn clone(&self) -> ConnectiveOperator
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 ConnectiveOperator
impl Debug for ConnectiveOperator
Source§impl<'de> Deserialize<'de> for ConnectiveOperator
impl<'de> Deserialize<'de> for ConnectiveOperator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ConnectiveOperator
impl Display for ConnectiveOperator
Source§impl PartialEq for ConnectiveOperator
impl PartialEq for ConnectiveOperator
Source§impl Serialize for ConnectiveOperator
impl Serialize for ConnectiveOperator
impl Copy for ConnectiveOperator
impl Eq for ConnectiveOperator
impl StructuralPartialEq for ConnectiveOperator
Auto Trait Implementations§
impl Freeze for ConnectiveOperator
impl RefUnwindSafe for ConnectiveOperator
impl Send for ConnectiveOperator
impl Sync for ConnectiveOperator
impl Unpin for ConnectiveOperator
impl UnwindSafe for ConnectiveOperator
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