pub enum DependentRelation {
LessThan,
LessThanOrEqual,
GreaterThan,
GreaterThanOrEqual,
Equal,
NotEqual,
Divides,
DivisibleBy,
}Expand description
Relation for dependent predicates.
Variants§
LessThan
Value must be less than the referenced variable
LessThanOrEqual
Value must be less than or equal to the referenced variable
GreaterThan
Value must be greater than the referenced variable
GreaterThanOrEqual
Value must be greater than or equal to the referenced variable
Equal
Value must equal the referenced variable
NotEqual
Value must not equal the referenced variable
Divides
Value is a divisor of the referenced variable
DivisibleBy
Referenced variable is a divisor of this value
Trait Implementations§
Source§impl Clone for DependentRelation
impl Clone for DependentRelation
Source§fn clone(&self) -> DependentRelation
fn clone(&self) -> DependentRelation
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 DependentRelation
impl Debug for DependentRelation
Source§impl PartialEq for DependentRelation
impl PartialEq for DependentRelation
impl StructuralPartialEq for DependentRelation
Auto Trait Implementations§
impl Freeze for DependentRelation
impl RefUnwindSafe for DependentRelation
impl Send for DependentRelation
impl Sync for DependentRelation
impl Unpin for DependentRelation
impl UnwindSafe for DependentRelation
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