pub enum AtomicFact {
Show 30 variants
NormalAtomicFact(NormalAtomicFact),
EqualFact(EqualFact),
LessFact(LessFact),
GreaterFact(GreaterFact),
LessEqualFact(LessEqualFact),
GreaterEqualFact(GreaterEqualFact),
IsSetFact(IsSetFact),
IsNonemptySetFact(IsNonemptySetFact),
IsFiniteSetFact(IsFiniteSetFact),
InFact(InFact),
IsCartFact(IsCartFact),
IsTupleFact(IsTupleFact),
SubsetFact(SubsetFact),
SupersetFact(SupersetFact),
RestrictFact(RestrictFact),
NotRestrictFact(NotRestrictFact),
NotNormalAtomicFact(NotNormalAtomicFact),
NotEqualFact(NotEqualFact),
NotLessFact(NotLessFact),
NotGreaterFact(NotGreaterFact),
NotLessEqualFact(NotLessEqualFact),
NotGreaterEqualFact(NotGreaterEqualFact),
NotIsSetFact(NotIsSetFact),
NotIsNonemptySetFact(NotIsNonemptySetFact),
NotIsFiniteSetFact(NotIsFiniteSetFact),
NotInFact(NotInFact),
NotIsCartFact(NotIsCartFact),
NotIsTupleFact(NotIsTupleFact),
NotSubsetFact(NotSubsetFact),
NotSupersetFact(NotSupersetFact),
}Variants§
NormalAtomicFact(NormalAtomicFact)
EqualFact(EqualFact)
LessFact(LessFact)
GreaterFact(GreaterFact)
LessEqualFact(LessEqualFact)
GreaterEqualFact(GreaterEqualFact)
IsSetFact(IsSetFact)
IsNonemptySetFact(IsNonemptySetFact)
IsFiniteSetFact(IsFiniteSetFact)
InFact(InFact)
IsCartFact(IsCartFact)
IsTupleFact(IsTupleFact)
SubsetFact(SubsetFact)
SupersetFact(SupersetFact)
RestrictFact(RestrictFact)
NotRestrictFact(NotRestrictFact)
NotNormalAtomicFact(NotNormalAtomicFact)
NotEqualFact(NotEqualFact)
NotLessFact(NotLessFact)
NotGreaterFact(NotGreaterFact)
NotLessEqualFact(NotLessEqualFact)
NotGreaterEqualFact(NotGreaterEqualFact)
NotIsSetFact(NotIsSetFact)
NotIsNonemptySetFact(NotIsNonemptySetFact)
NotIsFiniteSetFact(NotIsFiniteSetFact)
NotInFact(NotInFact)
NotIsCartFact(NotIsCartFact)
NotIsTupleFact(NotIsTupleFact)
NotSubsetFact(NotSubsetFact)
NotSupersetFact(NotSupersetFact)
Implementations§
Source§impl AtomicFact
impl AtomicFact
pub fn replace_bound_identifier(self, from: &str, to: &str) -> Self
Source§impl AtomicFact
impl AtomicFact
Source§impl AtomicFact
impl AtomicFact
pub fn to_atomic_fact( prop_name: IdentifierOrIdentifierWithMod, is_true: bool, args: Vec<Obj>, line_file: LineFile, ) -> Result<AtomicFact, RuntimeErrorStruct>
Source§impl AtomicFact
impl AtomicFact
pub fn is_builtin_predicate_and_return_expected_args_len(&self) -> usize
Source§impl AtomicFact
impl AtomicFact
pub fn number_of_args(&self) -> usize
pub fn line_file(&self) -> LineFile
pub fn with_new_line_file(self, line_file: LineFile) -> Self
Source§impl AtomicFact
impl AtomicFact
pub fn get_args_from_fact(&self) -> Vec<Obj>
Source§impl AtomicFact
impl AtomicFact
pub fn make_reversed(&self) -> AtomicFact
Source§impl AtomicFact
impl AtomicFact
pub fn calculate_args(&self) -> (AtomicFact, bool)
Trait Implementations§
Source§impl Clone for AtomicFact
impl Clone for AtomicFact
Source§fn clone(&self) -> AtomicFact
fn clone(&self) -> AtomicFact
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 moreAuto Trait Implementations§
impl Freeze for AtomicFact
impl RefUnwindSafe for AtomicFact
impl !Send for AtomicFact
impl !Sync for AtomicFact
impl Unpin for AtomicFact
impl UnsafeUnpin for AtomicFact
impl UnwindSafe for AtomicFact
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