pub enum FinalizedRelocTarget {
ExternalName(ExternalName),
Func(CodeOffset),
}
Expand description
A Relocation target
Variants§
ExternalName(ExternalName)
Points to an ExternalName outside the current function.
Func(CodeOffset)
Points to a CodeOffset from the start of the current function.
Implementations§
Source§impl FinalizedRelocTarget
impl FinalizedRelocTarget
Sourcepub fn display<'a>(&'a self, params: Option<&'a FunctionParameters>) -> String
pub fn display<'a>(&'a self, params: Option<&'a FunctionParameters>) -> String
Returns a display for the current FinalizedRelocTarget, with extra context to prettify the output.
Trait Implementations§
Source§impl Clone for FinalizedRelocTarget
impl Clone for FinalizedRelocTarget
Source§fn clone(&self) -> FinalizedRelocTarget
fn clone(&self) -> FinalizedRelocTarget
Returns a copy 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 moreSource§impl Debug for FinalizedRelocTarget
impl Debug for FinalizedRelocTarget
Source§impl Hash for FinalizedRelocTarget
impl Hash for FinalizedRelocTarget
Source§impl PartialEq for FinalizedRelocTarget
impl PartialEq for FinalizedRelocTarget
impl Eq for FinalizedRelocTarget
impl StructuralPartialEq for FinalizedRelocTarget
Auto Trait Implementations§
impl Freeze for FinalizedRelocTarget
impl RefUnwindSafe for FinalizedRelocTarget
impl Send for FinalizedRelocTarget
impl Sync for FinalizedRelocTarget
impl Unpin for FinalizedRelocTarget
impl UnwindSafe for FinalizedRelocTarget
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.