pub enum X86Mode {
Mode16,
Mode32,
Mode64,
}Expand description
x86 code width (operand/address size mode).
Used by .code16, .code32, .code64 directives to switch the default
operand and address size within the same assembly unit.
Variants§
Mode16
16-bit real mode: default operand size 16, address size 16.
Mode32
32-bit protected mode: default operand size 32, address size 32.
Mode64
64-bit long mode: default operand size 32, address size 64.
Trait Implementations§
impl Copy for X86Mode
impl Eq for X86Mode
impl StructuralPartialEq for X86Mode
Auto Trait Implementations§
impl Freeze for X86Mode
impl RefUnwindSafe for X86Mode
impl Send for X86Mode
impl Sync for X86Mode
impl Unpin for X86Mode
impl UnwindSafe for X86Mode
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