pub enum CmpPredicate {
FCmp(FCmpPredicate),
ICmp(ICmpPredicate),
}Expand description
Comparison predicate that can be either floating-point or integer
CmpInst::Predicate in InstrTypes.h
Variants§
FCmp(FCmpPredicate)
ICmp(ICmpPredicate)
Implementations§
Source§impl CmpPredicate
impl CmpPredicate
pub fn as_fp(self) -> Option<FCmpPredicate>
pub fn as_int(self) -> Option<ICmpPredicate>
Trait Implementations§
Source§impl Clone for CmpPredicate
impl Clone for CmpPredicate
Source§fn clone(&self) -> CmpPredicate
fn clone(&self) -> CmpPredicate
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 CmpPredicate
impl Debug for CmpPredicate
Source§impl PartialEq for CmpPredicate
impl PartialEq for CmpPredicate
Source§impl TryFrom<u8> for CmpPredicate
impl TryFrom<u8> for CmpPredicate
impl Copy for CmpPredicate
impl Eq for CmpPredicate
impl StructuralPartialEq for CmpPredicate
Auto Trait Implementations§
impl Freeze for CmpPredicate
impl RefUnwindSafe for CmpPredicate
impl Send for CmpPredicate
impl Sync for CmpPredicate
impl Unpin for CmpPredicate
impl UnsafeUnpin for CmpPredicate
impl UnwindSafe for CmpPredicate
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