Enum budvm::Comparison
source · pub enum Comparison {
Equal,
NotEqual,
LessThan,
LessThanOrEqual,
GreaterThan,
GreaterThanOrEqual,
}Expand description
A method for comparing Values.
Variants§
Equal
Pushes true if left and right are equal. Otherwise, pushes false.
NotEqual
Pushes true if left and right are not equal. Otherwise, pushes false.
LessThan
Pushes true if left is less than right. Otherwise, pushes false.
LessThanOrEqual
Pushes true if left is less than or equal to right. Otherwise, pushes false.
GreaterThan
Pushes true if left is greater than right. Otherwise, pushes false.
GreaterThanOrEqual
Pushes true if left is greater than or equal to right. Otherwise, pushes false.
Trait Implementations§
source§impl Clone for Comparison
impl Clone for Comparison
source§fn clone(&self) -> Comparison
fn clone(&self) -> Comparison
Returns a copy 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 Comparison
impl Debug for Comparison
source§impl Display for Comparison
impl Display for Comparison
source§impl PartialEq<Comparison> for Comparison
impl PartialEq<Comparison> for Comparison
source§fn eq(&self, other: &Comparison) -> bool
fn eq(&self, other: &Comparison) -> bool
This method tests for
self and other values to be equal, and is used
by ==.