pub enum LeFixupKind {
Byte,
Selector16,
Pointer16_16,
Offset16,
Pointer16_32,
Offset32,
Relative32,
}Expand description
What a fixup writes at its source location (the low nibble of the record’s source byte).
Variants§
Byte
0x0: the low byte of the target offset.
Selector16
0x2: the target object’s 16-bit selector.
Pointer16_16
0x3: a 16:16 far pointer (offset, then selector).
Offset16
0x5: a 16-bit offset.
Pointer16_32
0x6: a 16:32 far pointer (32-bit offset, then selector).
Offset32
0x7: a 32-bit offset.
Relative32
0x8: a 32-bit displacement relative to the end of the field.
Implementations§
Source§impl LeFixupKind
impl LeFixupKind
Sourcepub fn has_selector(self) -> bool
pub fn has_selector(self) -> bool
Whether the fixup’s value includes the target’s selector, which only the run-time extender knows.
Trait Implementations§
Source§impl Clone for LeFixupKind
impl Clone for LeFixupKind
impl Copy for LeFixupKind
Source§impl Debug for LeFixupKind
impl Debug for LeFixupKind
impl Eq for LeFixupKind
Source§impl PartialEq for LeFixupKind
impl PartialEq for LeFixupKind
impl StructuralPartialEq for LeFixupKind
Auto Trait Implementations§
impl Freeze for LeFixupKind
impl RefUnwindSafe for LeFixupKind
impl Send for LeFixupKind
impl Sync for LeFixupKind
impl Unpin for LeFixupKind
impl UnsafeUnpin for LeFixupKind
impl UnwindSafe for LeFixupKind
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