Enum OperandSize
pub enum OperandSize {
Size8,
Size16,
Size32,
Size64,
}
Expand description
An operand’s size in bits.
Variants§
Trait Implementations§
§impl Clone for OperandSize
impl Clone for OperandSize
§fn clone(&self) -> OperandSize
fn clone(&self) -> OperandSize
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 more§impl From<OperandSize> for RexFlags
impl From<OperandSize> for RexFlags
Generate the proper Rex flags for the given operand size.
§fn from(size: OperandSize) -> RexFlags
fn from(size: OperandSize) -> RexFlags
Converts to this type from the input type.
§impl PartialEq for OperandSize
impl PartialEq for OperandSize
impl Copy for OperandSize
impl StructuralPartialEq for OperandSize
Auto Trait Implementations§
impl Freeze for OperandSize
impl RefUnwindSafe for OperandSize
impl Send for OperandSize
impl Sync for OperandSize
impl Unpin for OperandSize
impl UnwindSafe for OperandSize
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