pub enum ModRm {
None,
Reg,
Ext(u8),
}Expand description
How ModRM is formed.
Variants§
None
No ModRM byte.
Reg
/r: the reg field holds a register operand.
Ext(u8)
/digit: the reg field is a fixed opcode extension.
Trait Implementations§
impl Copy for ModRm
impl Eq for ModRm
impl StructuralPartialEq for ModRm
Auto Trait Implementations§
impl Freeze for ModRm
impl RefUnwindSafe for ModRm
impl Send for ModRm
impl Sync for ModRm
impl Unpin for ModRm
impl UnsafeUnpin for ModRm
impl UnwindSafe for ModRm
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