pub enum AbstractCmp {
DefinitelyTrue,
DefinitelyFalse,
Unknown,
}Expand description
Abstract comparison result (may hold, definitely holds, definitely fails).
Variants§
Implementations§
Source§impl AbstractCmp
impl AbstractCmp
Sourcepub fn is_definitely_true(&self) -> bool
pub fn is_definitely_true(&self) -> bool
Return whether the comparison is definitely true.
Sourcepub fn is_definitely_false(&self) -> bool
pub fn is_definitely_false(&self) -> bool
Return whether the comparison is definitely false.
Trait Implementations§
Source§impl Clone for AbstractCmp
impl Clone for AbstractCmp
Source§fn clone(&self) -> AbstractCmp
fn clone(&self) -> AbstractCmp
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 AbstractCmp
impl Debug for AbstractCmp
Source§impl PartialEq for AbstractCmp
impl PartialEq for AbstractCmp
impl Copy for AbstractCmp
impl Eq for AbstractCmp
impl StructuralPartialEq for AbstractCmp
Auto Trait Implementations§
impl Freeze for AbstractCmp
impl RefUnwindSafe for AbstractCmp
impl Send for AbstractCmp
impl Sync for AbstractCmp
impl Unpin for AbstractCmp
impl UnsafeUnpin for AbstractCmp
impl UnwindSafe for AbstractCmp
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