Enum llvm_plugin_inkwell::IntPredicate
source · [−]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
sourceimpl Clone for IntPredicate
impl Clone for IntPredicate
sourcefn clone(&self) -> IntPredicate
fn clone(&self) -> IntPredicate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for IntPredicate
impl Debug for IntPredicate
sourceimpl From<LLVMIntPredicate> for IntPredicate
impl From<LLVMIntPredicate> for IntPredicate
sourcefn from(src: LLVMIntPredicate) -> Self
fn from(src: LLVMIntPredicate) -> Self
Converts to this type from the input type.
sourceimpl Hash for IntPredicate
impl Hash for IntPredicate
sourceimpl Into<LLVMIntPredicate> for IntPredicate
impl Into<LLVMIntPredicate> for IntPredicate
sourcefn into(self) -> LLVMIntPredicate
fn into(self) -> LLVMIntPredicate
Converts this type into the (usually inferred) input type.
sourceimpl Ord for IntPredicate
impl Ord for IntPredicate
sourcefn cmp(&self, other: &IntPredicate) -> Ordering
fn cmp(&self, other: &IntPredicate) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<IntPredicate> for IntPredicate
impl PartialEq<IntPredicate> for IntPredicate
sourcefn eq(&self, other: &IntPredicate) -> bool
fn eq(&self, other: &IntPredicate) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl PartialOrd<IntPredicate> for IntPredicate
impl PartialOrd<IntPredicate> for IntPredicate
sourcefn partial_cmp(&self, other: &IntPredicate) -> Option<Ordering>
fn partial_cmp(&self, other: &IntPredicate) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for IntPredicate
impl Eq for IntPredicate
impl StructuralEq for IntPredicate
impl StructuralPartialEq for IntPredicate
Auto Trait Implementations
impl RefUnwindSafe for IntPredicate
impl Send for IntPredicate
impl Sync for IntPredicate
impl Unpin for IntPredicate
impl UnwindSafe for IntPredicate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more