pub struct Fixup {
pub at: u32,
pub kind: RelocKind,
pub target: u32,
pub addend: i32,
}Expand description
A field that names something the linker places.
Fields§
§at: u32Where the field starts, from the start of the code of its function or of the bytes of its
segment. The caller reserves RelocKind::width bytes there.
kind: RelocKind§target: u32A symbol index, or a type index for RelocKind::TypeIndexLeb.
addend: i32Added to a data address. Zero for the other kinds.
Trait Implementations§
impl Copy for Fixup
impl Eq for Fixup
impl StructuralPartialEq for Fixup
Auto Trait Implementations§
impl Freeze for Fixup
impl RefUnwindSafe for Fixup
impl Send for Fixup
impl Sync for Fixup
impl Unpin for Fixup
impl UnsafeUnpin for Fixup
impl UnwindSafe for Fixup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.