pub enum ModRM {
Reg(Reg),
DirectAddressing(u16),
RegisterIndirectAddressingViaBaseReg(BaseReg),
RegisterIndirectAddressingViaIndexReg(IndexReg),
BasedAddressing(BaseReg, u16),
IndexedAddressing(IndexReg, u16),
BasedIndexedAddressing(BaseReg, IndexReg, u16),
BasedIndexedAddressingNoDisp(BaseReg, IndexReg),
}Variants§
Reg(Reg)
DirectAddressing(u16)
RegisterIndirectAddressingViaBaseReg(BaseReg)
RegisterIndirectAddressingViaIndexReg(IndexReg)
BasedAddressing(BaseReg, u16)
IndexedAddressing(IndexReg, u16)
BasedIndexedAddressing(BaseReg, IndexReg, u16)
BasedIndexedAddressingNoDisp(BaseReg, IndexReg)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModRM
impl RefUnwindSafe for ModRM
impl Send for ModRM
impl Sync for ModRM
impl Unpin 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