pub struct Inequation { /* private fields */ }
Implementations§
Source§impl Inequation
impl Inequation
pub fn new<L, R>( left_operand: L, relation: InequalityRelation, right_operand: R, ) -> Self
pub fn not_equal<L, R>(left_operand: L, right_operand: R) -> Self
pub fn less_than<L, R>(left_operand: L, right_operand: R) -> Self
pub fn less_than_or_greater<L, R>(left_operand: L, right_operand: R) -> Self
pub fn greater_than<L, R>(left_operand: L, right_operand: R) -> Self
pub fn greater_than_or_equal<L, R>(left_operand: L, right_operand: R) -> Self
pub const fn left_operand(&self) -> &Term
pub fn set_left_operand(&mut self, left_operand: Term)
pub const fn relation(&self) -> &InequalityRelation
pub fn set_relation(&mut self, relation: InequalityRelation)
pub fn is_not_equal(&self) -> bool
pub fn is_less_than(&self) -> bool
pub fn is_greater_than(&self) -> bool
pub fn is_less_than_or_equal(&self) -> bool
pub fn is_greater_than_or_equal(&self) -> bool
pub const fn right_operand(&self) -> &Term
pub fn set_right_operand(&mut self, right_operand: Term)
Trait Implementations§
Source§impl Clone for Inequation
impl Clone for Inequation
Source§fn clone(&self) -> Inequation
fn clone(&self) -> Inequation
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 Inequation
impl Debug for Inequation
Source§impl<'de> Deserialize<'de> for Inequation
impl<'de> Deserialize<'de> for Inequation
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 From<&Inequation> for SimpleSentence
impl From<&Inequation> for SimpleSentence
Source§fn from(v: &Inequation) -> Self
fn from(v: &Inequation) -> Self
Converts to this type from the input type.
Source§impl From<Inequation> for SimpleSentence
impl From<Inequation> for SimpleSentence
Source§fn from(v: Inequation) -> Self
fn from(v: Inequation) -> Self
Converts to this type from the input type.
Source§impl HasSourceSpan for Inequation
impl HasSourceSpan for Inequation
fn with_source_span(self, span: Span) -> Self
fn source_span(&self) -> Option<&Span>
fn set_source_span(&mut self, span: Span)
fn unset_source_span(&mut self)
fn has_source_span(&self) -> bool
Auto Trait Implementations§
impl Freeze for Inequation
impl RefUnwindSafe for Inequation
impl Send for Inequation
impl Sync for Inequation
impl Unpin for Inequation
impl UnwindSafe for Inequation
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