pub enum RelocationKind {
RipRelative,
Relative32,
Absolute64,
}Expand description
Relocation kind
Variants§
RipRelative
RIP-relative addressing (32-bit offset)
Relative32
Relative 32-bit jump/call (rel32)
Absolute64
Absolute 64-bit address (imm64)
Trait Implementations§
Source§impl Clone for RelocationKind
impl Clone for RelocationKind
Source§fn clone(&self) -> RelocationKind
fn clone(&self) -> RelocationKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RelocationKind
impl RefUnwindSafe for RelocationKind
impl Send for RelocationKind
impl Sync for RelocationKind
impl Unpin for RelocationKind
impl UnsafeUnpin for RelocationKind
impl UnwindSafe for RelocationKind
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