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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)