Enum CmpOpcode
pub enum CmpOpcode {
Cmp,
Test,
}
Expand description
Comparison operations.
Variants§
Cmp
CMP instruction: compute a - b
and set flags from result.
Test
TEST instruction: compute a & b
and set flags from result.
Trait Implementations§
impl Copy for CmpOpcode
impl StructuralPartialEq for CmpOpcode
Auto Trait Implementations§
impl Freeze for CmpOpcode
impl RefUnwindSafe for CmpOpcode
impl Send for CmpOpcode
impl Sync for CmpOpcode
impl Unpin for CmpOpcode
impl UnwindSafe for CmpOpcode
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