pub struct DelayedRelocation { /* private fields */ }Implementations§
Source§impl DelayedRelocation
impl DelayedRelocation
pub fn try_apply( dest: &mut [u8], offset: usize, relocation: Relocation, stack_vars: &[usize], holes: &[usize], jumps: &[JumpTarget], ) -> Option<Self>
pub fn constant(offset: usize, relocation: Relocation, constant: u16) -> Self
pub fn next(offset: usize, relocation: Relocation) -> Self
pub fn target(&self) -> DelayedTarget
pub fn offset(&self) -> usize
pub fn location(&self) -> usize
pub fn resolve(&self, base: usize, value: usize) -> usize
pub fn apply(&self, dest: &mut [u8], value: usize)
Trait Implementations§
Source§impl Clone for DelayedRelocation
impl Clone for DelayedRelocation
Source§fn clone(&self) -> DelayedRelocation
fn clone(&self) -> DelayedRelocation
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 DelayedRelocation
impl RefUnwindSafe for DelayedRelocation
impl Send for DelayedRelocation
impl Sync for DelayedRelocation
impl Unpin for DelayedRelocation
impl UnsafeUnpin for DelayedRelocation
impl UnwindSafe for DelayedRelocation
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