pub struct Encoding { /* private fields */ }Implementations§
Source§impl Encoding
 
impl Encoding
Sourcepub fn modrm_offset(&self) -> u8
 
pub fn modrm_offset(&self) -> u8
Returns the ModR/M offset, or 0 when irrelevant.
Sourcepub fn disp_offset(&self) -> u8
 
pub fn disp_offset(&self) -> u8
Returns the displacement offset, or 0 when irrelevant.
Sourcepub fn imm_offset(&self) -> u8
 
pub fn imm_offset(&self) -> u8
Returns the immediate offset, or 0 when irrelevant.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
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