#[repr(i32)]pub enum CompareResult {
Inconsistent = 0,
Eq = 1,
Lt = 2,
Le = 3,
Gt = 4,
Ge = 5,
Ne = 6,
Unknown = 7,
}Expand description
The result of Analyzer::try_compare: sym::CompareResult.
The relations other than Inconsistent and Unknown say what is known of lhs against rhs.
Variants§
Inconsistent = 0
The known facts contradict each other.
Eq = 1
Lt = 2
Le = 3
Gt = 4
Ge = 5
Ne = 6
Unknown = 7
Nothing is known of the relation.
Trait Implementations§
Source§impl Clone for CompareResult
impl Clone for CompareResult
Source§fn clone(&self) -> CompareResult
fn clone(&self) -> CompareResult
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 CompareResult
impl Debug for CompareResult
Source§impl Hash for CompareResult
impl Hash for CompareResult
Source§impl PartialEq for CompareResult
impl PartialEq for CompareResult
Source§impl TryFrom<i64> for CompareResult
impl TryFrom<i64> for CompareResult
impl Copy for CompareResult
impl Eq for CompareResult
impl StructuralPartialEq for CompareResult
Auto Trait Implementations§
impl Freeze for CompareResult
impl RefUnwindSafe for CompareResult
impl Send for CompareResult
impl Sync for CompareResult
impl Unpin for CompareResult
impl UnwindSafe for CompareResult
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