Enum rustc_codegen_llvm::llvm_::ffi::IntPredicate
source · #[repr(C)]pub enum IntPredicate {
IntEQ,
IntNE,
IntUGT,
IntUGE,
IntULT,
IntULE,
IntSGT,
IntSGE,
IntSLT,
IntSLE,
}
Expand description
LLVMIntPredicate
Variants§
Implementations§
source§impl IntPredicate
impl IntPredicate
pub fn from_generic(intpre: IntPredicate) -> Self
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 moreimpl Copy 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§
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes
Size for each variant:
IntEQ
: 0 bytesIntNE
: 0 bytesIntUGT
: 0 bytesIntUGE
: 0 bytesIntULT
: 0 bytesIntULE
: 0 bytesIntSGT
: 0 bytesIntSGE
: 0 bytesIntSLT
: 0 bytesIntSLE
: 0 bytes