pub enum PredicateProperty {
Symmetric,
Transitive,
Reflexive,
Irreflexive,
Antisymmetric,
Functional,
InverseFunctional,
}Expand description
Properties that can be associated with predicates
Variants§
Symmetric
Predicate is symmetric: P(x,y) ⟺ P(y,x)
Transitive
Predicate is transitive: P(x,y) ∧ P(y,z) ⟹ P(x,z)
Reflexive
Predicate is reflexive: ∀x. P(x,x)
Irreflexive
Predicate is irreflexive: ∀x. ¬P(x,x)
Antisymmetric
Predicate is antisymmetric: P(x,y) ∧ P(y,x) ⟹ x = y
Functional
Predicate is functional: ∀x,y,z. P(x,y) ∧ P(x,z) ⟹ y = z
InverseFunctional
Predicate is inverse functional: ∀x,y,z. P(y,x) ∧ P(z,x) ⟹ y = z
Trait Implementations§
Source§impl Clone for PredicateProperty
impl Clone for PredicateProperty
Source§fn clone(&self) -> PredicateProperty
fn clone(&self) -> PredicateProperty
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 PredicateProperty
impl Debug for PredicateProperty
Source§impl<'de> Deserialize<'de> for PredicateProperty
impl<'de> Deserialize<'de> for PredicateProperty
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 PartialEq for PredicateProperty
impl PartialEq for PredicateProperty
Source§impl Serialize for PredicateProperty
impl Serialize for PredicateProperty
impl StructuralPartialEq for PredicateProperty
Auto Trait Implementations§
impl Freeze for PredicateProperty
impl RefUnwindSafe for PredicateProperty
impl Send for PredicateProperty
impl Sync for PredicateProperty
impl Unpin for PredicateProperty
impl UnwindSafe for PredicateProperty
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