[−][src]Enum foliage::Formula
Variants
And(Formulas)
Boolean(bool)
Compare(Compare)
Exists(Exists)
ForAll(ForAll)
IfAndOnlyIf(IfAndOnlyIf)
Implies(Implies)
Or(Formulas)
Predicate(Predicate)
Methods
impl Formula
[src]
pub fn and(arguments: Formulas) -> Self
[src]
pub fn boolean(value: bool) -> Self
[src]
pub fn compare(
operator: ComparisonOperator,
left: Box<Term>,
right: Box<Term>
) -> Self
[src]
operator: ComparisonOperator,
left: Box<Term>,
right: Box<Term>
) -> Self
pub fn exists(
parameters: Rc<VariableDeclarations>,
argument: Box<Formula>
) -> Self
[src]
parameters: Rc<VariableDeclarations>,
argument: Box<Formula>
) -> Self
pub fn equal(left: Box<Term>, right: Box<Term>) -> Self
[src]
pub fn false_() -> Self
[src]
pub fn for_all(
parameters: Rc<VariableDeclarations>,
argument: Box<Formula>
) -> Self
[src]
parameters: Rc<VariableDeclarations>,
argument: Box<Formula>
) -> Self
pub fn greater(left: Box<Term>, right: Box<Term>) -> Self
[src]
pub fn greater_or_equal(left: Box<Term>, right: Box<Term>) -> Self
[src]
pub fn if_and_only_if(left: Box<Formula>, right: Box<Formula>) -> Self
[src]
pub fn implies(antecedent: Box<Formula>, consequent: Box<Formula>) -> Self
[src]
pub fn less(left: Box<Term>, right: Box<Term>) -> Self
[src]
pub fn less_or_equal(left: Box<Term>, right: Box<Term>) -> Self
[src]
pub fn not(argument: Box<Formula>) -> Self
[src]
pub fn not_equal(left: Box<Term>, right: Box<Term>) -> Self
[src]
pub fn or(arguments: Formulas) -> Self
[src]
pub fn predicate(
declaration: &Rc<PredicateDeclaration>,
arguments: Vec<Box<Term>>
) -> Self
[src]
declaration: &Rc<PredicateDeclaration>,
arguments: Vec<Box<Term>>
) -> Self
pub fn true_() -> Self
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Formula
impl !Send for Formula
impl !Sync for Formula
impl Unpin for Formula
impl !UnwindSafe for Formula
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,