pub enum AtomicFact {
Show 32 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),
FnEqualInFact(FnEqualInFact),
FnEqualFact(FnEqualFact),
}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)
FnEqualInFact(FnEqualInFact)
FnEqualFact(FnEqualFact)
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: AtomicName, is_true: bool, args: Vec<Obj>, line_file: LineFile, ) -> Result<AtomicFact, RuntimeError>
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_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)
Source§impl AtomicFact
impl AtomicFact
pub fn to_latex_string(&self) -> String
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Display for AtomicFact
impl Display for AtomicFact
Source§impl From<AtomicFact> for AndChainAtomicFact
impl From<AtomicFact> for AndChainAtomicFact
Source§fn from(atomic_fact: AtomicFact) -> Self
fn from(atomic_fact: AtomicFact) -> Self
Converts to this type from the input type.
Source§impl From<AtomicFact> for ExistBodyFact
impl From<AtomicFact> for ExistBodyFact
Source§fn from(atomic_fact: AtomicFact) -> Self
fn from(atomic_fact: AtomicFact) -> Self
Converts to this type from the input type.
Source§impl From<AtomicFact> for ExistOrAndChainAtomicFact
impl From<AtomicFact> for ExistOrAndChainAtomicFact
Source§fn from(atomic_fact: AtomicFact) -> Self
fn from(atomic_fact: AtomicFact) -> Self
Converts to this type from the input type.
Source§impl From<AtomicFact> for Fact
impl From<AtomicFact> for Fact
Source§fn from(atomic_fact: AtomicFact) -> Self
fn from(atomic_fact: AtomicFact) -> Self
Converts to this type from the input type.
Source§impl From<AtomicFact> for OrAndChainAtomicFact
impl From<AtomicFact> for OrAndChainAtomicFact
Source§fn from(atomic_fact: AtomicFact) -> Self
fn from(atomic_fact: AtomicFact) -> Self
Converts to this type from the input type.
Source§impl From<EqualFact> for AtomicFact
impl From<EqualFact> for AtomicFact
Source§impl From<FnEqualFact> for AtomicFact
impl From<FnEqualFact> for AtomicFact
Source§fn from(f: FnEqualFact) -> Self
fn from(f: FnEqualFact) -> Self
Converts to this type from the input type.
Source§impl From<FnEqualInFact> for AtomicFact
impl From<FnEqualInFact> for AtomicFact
Source§fn from(f: FnEqualInFact) -> Self
fn from(f: FnEqualInFact) -> Self
Converts to this type from the input type.
Source§impl From<GreaterEqualFact> for AtomicFact
impl From<GreaterEqualFact> for AtomicFact
Source§fn from(f: GreaterEqualFact) -> Self
fn from(f: GreaterEqualFact) -> Self
Converts to this type from the input type.
Source§impl From<GreaterFact> for AtomicFact
impl From<GreaterFact> for AtomicFact
Source§fn from(f: GreaterFact) -> Self
fn from(f: GreaterFact) -> Self
Converts to this type from the input type.
Source§impl From<InFact> for AtomicFact
impl From<InFact> for AtomicFact
Source§impl From<IsCartFact> for AtomicFact
impl From<IsCartFact> for AtomicFact
Source§fn from(f: IsCartFact) -> Self
fn from(f: IsCartFact) -> Self
Converts to this type from the input type.
Source§impl From<IsFiniteSetFact> for AtomicFact
impl From<IsFiniteSetFact> for AtomicFact
Source§fn from(f: IsFiniteSetFact) -> Self
fn from(f: IsFiniteSetFact) -> Self
Converts to this type from the input type.
Source§impl From<IsNonemptySetFact> for AtomicFact
impl From<IsNonemptySetFact> for AtomicFact
Source§fn from(f: IsNonemptySetFact) -> Self
fn from(f: IsNonemptySetFact) -> Self
Converts to this type from the input type.
Source§impl From<IsSetFact> for AtomicFact
impl From<IsSetFact> for AtomicFact
Source§impl From<IsTupleFact> for AtomicFact
impl From<IsTupleFact> for AtomicFact
Source§fn from(f: IsTupleFact) -> Self
fn from(f: IsTupleFact) -> Self
Converts to this type from the input type.
Source§impl From<LessEqualFact> for AtomicFact
impl From<LessEqualFact> for AtomicFact
Source§fn from(f: LessEqualFact) -> Self
fn from(f: LessEqualFact) -> Self
Converts to this type from the input type.
Source§impl From<LessFact> for AtomicFact
impl From<LessFact> for AtomicFact
Source§impl From<NormalAtomicFact> for AtomicFact
impl From<NormalAtomicFact> for AtomicFact
Source§fn from(f: NormalAtomicFact) -> Self
fn from(f: NormalAtomicFact) -> Self
Converts to this type from the input type.
Source§impl From<NotEqualFact> for AtomicFact
impl From<NotEqualFact> for AtomicFact
Source§fn from(f: NotEqualFact) -> Self
fn from(f: NotEqualFact) -> Self
Converts to this type from the input type.
Source§impl From<NotGreaterEqualFact> for AtomicFact
impl From<NotGreaterEqualFact> for AtomicFact
Source§fn from(f: NotGreaterEqualFact) -> Self
fn from(f: NotGreaterEqualFact) -> Self
Converts to this type from the input type.
Source§impl From<NotGreaterFact> for AtomicFact
impl From<NotGreaterFact> for AtomicFact
Source§fn from(f: NotGreaterFact) -> Self
fn from(f: NotGreaterFact) -> Self
Converts to this type from the input type.
Source§impl From<NotInFact> for AtomicFact
impl From<NotInFact> for AtomicFact
Source§impl From<NotIsCartFact> for AtomicFact
impl From<NotIsCartFact> for AtomicFact
Source§fn from(f: NotIsCartFact) -> Self
fn from(f: NotIsCartFact) -> Self
Converts to this type from the input type.
Source§impl From<NotIsFiniteSetFact> for AtomicFact
impl From<NotIsFiniteSetFact> for AtomicFact
Source§fn from(f: NotIsFiniteSetFact) -> Self
fn from(f: NotIsFiniteSetFact) -> Self
Converts to this type from the input type.
Source§impl From<NotIsNonemptySetFact> for AtomicFact
impl From<NotIsNonemptySetFact> for AtomicFact
Source§fn from(f: NotIsNonemptySetFact) -> Self
fn from(f: NotIsNonemptySetFact) -> Self
Converts to this type from the input type.
Source§impl From<NotIsSetFact> for AtomicFact
impl From<NotIsSetFact> for AtomicFact
Source§fn from(f: NotIsSetFact) -> Self
fn from(f: NotIsSetFact) -> Self
Converts to this type from the input type.
Source§impl From<NotIsTupleFact> for AtomicFact
impl From<NotIsTupleFact> for AtomicFact
Source§fn from(f: NotIsTupleFact) -> Self
fn from(f: NotIsTupleFact) -> Self
Converts to this type from the input type.
Source§impl From<NotLessEqualFact> for AtomicFact
impl From<NotLessEqualFact> for AtomicFact
Source§fn from(f: NotLessEqualFact) -> Self
fn from(f: NotLessEqualFact) -> Self
Converts to this type from the input type.
Source§impl From<NotLessFact> for AtomicFact
impl From<NotLessFact> for AtomicFact
Source§fn from(f: NotLessFact) -> Self
fn from(f: NotLessFact) -> Self
Converts to this type from the input type.
Source§impl From<NotNormalAtomicFact> for AtomicFact
impl From<NotNormalAtomicFact> for AtomicFact
Source§fn from(f: NotNormalAtomicFact) -> Self
fn from(f: NotNormalAtomicFact) -> Self
Converts to this type from the input type.
Source§impl From<NotRestrictFact> for AtomicFact
impl From<NotRestrictFact> for AtomicFact
Source§fn from(f: NotRestrictFact) -> Self
fn from(f: NotRestrictFact) -> Self
Converts to this type from the input type.
Source§impl From<NotSubsetFact> for AtomicFact
impl From<NotSubsetFact> for AtomicFact
Source§fn from(f: NotSubsetFact) -> Self
fn from(f: NotSubsetFact) -> Self
Converts to this type from the input type.
Source§impl From<NotSupersetFact> for AtomicFact
impl From<NotSupersetFact> for AtomicFact
Source§fn from(f: NotSupersetFact) -> Self
fn from(f: NotSupersetFact) -> Self
Converts to this type from the input type.
Source§impl From<RestrictFact> for AtomicFact
impl From<RestrictFact> for AtomicFact
Source§fn from(f: RestrictFact) -> Self
fn from(f: RestrictFact) -> Self
Converts to this type from the input type.
Source§impl From<SubsetFact> for AtomicFact
impl From<SubsetFact> for AtomicFact
Source§fn from(f: SubsetFact) -> Self
fn from(f: SubsetFact) -> Self
Converts to this type from the input type.
Source§impl From<SupersetFact> for AtomicFact
impl From<SupersetFact> for AtomicFact
Source§fn from(f: SupersetFact) -> Self
fn from(f: SupersetFact) -> Self
Converts to this type from the input type.
Auto 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