pub enum IntPredicate {
EQ,
NE,
UGT,
UGE,
ULT,
ULE,
SGT,
SGE,
SLT,
SLE,
}
Expand description
This enum defines how to compare a left
and right
IntValue
.
Variants§
EQ
Equal
NE
Not Equal
UGT
Unsigned Greater Than
UGE
Unsigned Greater Than or Equal
ULT
Unsigned Less Than
ULE
Unsigned Less Than or Equal
SGT
Signed Greater Than
SGE
Signed Greater Than or Equal
SLT
Signed Less Than
SLE
Signed Less Than or Equal
Trait Implementations§
Source§impl Clone for IntPredicate
impl Clone for IntPredicate
Source§fn clone(&self) -> IntPredicate
fn clone(&self) -> IntPredicate
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 IntPredicate
impl Debug for IntPredicate
Source§impl From<LLVMIntPredicate> for IntPredicate
impl From<LLVMIntPredicate> for IntPredicate
Source§fn from(src: LLVMIntPredicate) -> Self
fn from(src: LLVMIntPredicate) -> Self
Converts to this type from the input type.
Source§impl Hash for IntPredicate
impl Hash for IntPredicate
Source§impl Into<LLVMIntPredicate> for IntPredicate
impl Into<LLVMIntPredicate> for IntPredicate
Source§fn into(self) -> LLVMIntPredicate
fn into(self) -> LLVMIntPredicate
Converts this type into the (usually inferred) input type.
Source§impl Ord for IntPredicate
impl Ord for IntPredicate
Source§fn cmp(&self, other: &IntPredicate) -> Ordering
fn cmp(&self, other: &IntPredicate) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IntPredicate
impl PartialEq for IntPredicate
Source§impl PartialOrd for IntPredicate
impl PartialOrd for IntPredicate
impl Copy for IntPredicate
impl Eq for IntPredicate
impl StructuralPartialEq for IntPredicate
Auto Trait Implementations§
impl Freeze for IntPredicate
impl RefUnwindSafe for IntPredicate
impl Send for IntPredicate
impl Sync for IntPredicate
impl Unpin for IntPredicate
impl UnwindSafe for IntPredicate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more