pub trait PredicateConstructor {
type Value;
// Required methods
fn lower_bound_predicate(&self, bound: Self::Value) -> Predicate;
fn upper_bound_predicate(&self, bound: Self::Value) -> Predicate;
fn equality_predicate(&self, bound: Self::Value) -> Predicate;
fn disequality_predicate(&self, bound: Self::Value) -> Predicate;
}Expand description
A trait which defines methods for creating a Predicate.
Required Associated Types§
Required Methods§
Sourcefn lower_bound_predicate(&self, bound: Self::Value) -> Predicate
fn lower_bound_predicate(&self, bound: Self::Value) -> Predicate
Creates a lower-bound predicate (e.g. [x >= v]).
Sourcefn upper_bound_predicate(&self, bound: Self::Value) -> Predicate
fn upper_bound_predicate(&self, bound: Self::Value) -> Predicate
Creates an upper-bound predicate (e.g. [x <= v]).
Sourcefn equality_predicate(&self, bound: Self::Value) -> Predicate
fn equality_predicate(&self, bound: Self::Value) -> Predicate
Creates an equality predicate (e.g. [x == v]).
Sourcefn disequality_predicate(&self, bound: Self::Value) -> Predicate
fn disequality_predicate(&self, bound: Self::Value) -> Predicate
Creates a disequality predicate (e.g. [x != v]).