pub enum OperandSize {
Size8,
Size16,
Size32,
Size64,
}
Available on crate feature
x86
only.Expand description
An operand’s size in bits.
Variants§
Trait Implementations§
Source§impl Clone for OperandSize
impl Clone for OperandSize
Source§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 moreSource§impl From<OperandSize> for RexFlags
Generate the proper Rex flags for the given operand size.
impl From<OperandSize> for RexFlags
Generate the proper Rex flags for the given operand size.
Source§fn from(size: OperandSize) -> Self
fn from(size: OperandSize) -> Self
Converts to this type from the input type.
Source§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