pub struct AsmFixup {
pub label: Label,
pub offset: CodeOffset,
pub kind: LabelUse,
}Expand description
A fixup to perform on the buffer once code is emitted. Fixups always refer to labels and patch the code based on label offsets. Hence, they are like relocations, but internal to one buffer.
Fields§
§label: Label§offset: CodeOffset§kind: LabelUseTrait Implementations§
Source§impl Ord for AsmFixup
impl Ord for AsmFixup
Source§impl PartialOrd for AsmFixup
impl PartialOrd for AsmFixup
impl Copy for AsmFixup
impl Eq for AsmFixup
impl StructuralPartialEq for AsmFixup
Auto Trait Implementations§
impl Freeze for AsmFixup
impl RefUnwindSafe for AsmFixup
impl Send for AsmFixup
impl Sync for AsmFixup
impl Unpin for AsmFixup
impl UnwindSafe for AsmFixup
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