#[repr(u8)]pub enum ICmpPredicate {
Eq = 32,
Ne = 33,
Ugt = 34,
Uge = 35,
Ult = 36,
Ule = 37,
Sgt = 38,
Sge = 39,
Slt = 40,
Sle = 41,
}Expand description
CmpInst::Predicate in InstrTypes.h
Variants§
Eq = 32
Equal
Ne = 33
Not equal
Ugt = 34
Unsigned greater than
Uge = 35
Unsigned greater or equal
Ult = 36
Unsigned less than
Ule = 37
Unsigned less or equal
Sgt = 38
Signed greater than
Sge = 39
Signed greater or equal
Slt = 40
Signed less than
Sle = 41
Signed less or equal
Implementations§
Source§impl ICmpPredicate
impl ICmpPredicate
Trait Implementations§
Source§impl Clone for ICmpPredicate
impl Clone for ICmpPredicate
Source§fn clone(&self) -> ICmpPredicate
fn clone(&self) -> ICmpPredicate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ICmpPredicate
Source§impl Debug for ICmpPredicate
impl Debug for ICmpPredicate
impl Eq for ICmpPredicate
Source§impl PartialEq for ICmpPredicate
impl PartialEq for ICmpPredicate
Source§fn eq(&self, other: &ICmpPredicate) -> bool
fn eq(&self, other: &ICmpPredicate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ICmpPredicate
Source§impl TryFrom<u8> for ICmpPredicate
impl TryFrom<u8> for ICmpPredicate
Source§type Error = TryFromPrimitiveError<ICmpPredicate>
type Error = TryFromPrimitiveError<ICmpPredicate>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ICmpPredicate
impl TryFromPrimitive for ICmpPredicate
const NAME: &'static str = "ICmpPredicate"
type Primitive = u8
type Error = TryFromPrimitiveError<ICmpPredicate>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for ICmpPredicate
impl RefUnwindSafe for ICmpPredicate
impl Send for ICmpPredicate
impl Sync for ICmpPredicate
impl Unpin for ICmpPredicate
impl UnsafeUnpin for ICmpPredicate
impl UnwindSafe for ICmpPredicate
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