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
impl Copy for CmpPredicate
Source§impl Debug for CmpPredicate
impl Debug for CmpPredicate
impl Eq for CmpPredicate
Source§impl PartialEq for CmpPredicate
impl PartialEq 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