pub enum UnaryRmROpcode {
Bsr,
Bsf,
Lzcnt,
Tzcnt,
Popcnt,
}
Available on crate feature
x86
only.Expand description
Unary operations requiring register or memory and register operands.
Variants§
Bsr
Bit-scan reverse.
Bsf
Bit-scan forward.
Lzcnt
Counts leading zeroes (Leading Zero CouNT).
Tzcnt
Counts trailing zeroes (Trailing Zero CouNT).
Popcnt
Counts the number of ones (POPulation CouNT).
Trait Implementations§
Source§impl Clone for UnaryRmROpcode
impl Clone for UnaryRmROpcode
Source§fn clone(&self) -> UnaryRmROpcode
fn clone(&self) -> UnaryRmROpcode
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 moreSource§impl Debug for UnaryRmROpcode
impl Debug for UnaryRmROpcode
Source§impl Display for UnaryRmROpcode
impl Display for UnaryRmROpcode
Source§impl PartialEq for UnaryRmROpcode
impl PartialEq for UnaryRmROpcode
impl StructuralPartialEq for UnaryRmROpcode
Auto Trait Implementations§
impl Freeze for UnaryRmROpcode
impl RefUnwindSafe for UnaryRmROpcode
impl Send for UnaryRmROpcode
impl Sync for UnaryRmROpcode
impl Unpin for UnaryRmROpcode
impl UnwindSafe for UnaryRmROpcode
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