Enum RelocationTarget
enum RelocationTarget
The target referenced by a Relocation.
Variants
-
Symbol(SymbolIndex) The target is a symbol.
-
Section(SectionIndex) The target is a section.
-
Absolute The offset is an absolute address.
Implementations
impl Clone for RelocationTarget
fn clone(self: &Self) -> RelocationTarget
impl Copy for RelocationTarget
impl Debug for RelocationTarget
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for RelocationTarget
impl Freeze for RelocationTarget
impl Hash for RelocationTarget
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl PartialEq for RelocationTarget
fn eq(self: &Self, other: &RelocationTarget) -> bool
impl RefUnwindSafe for RelocationTarget
impl Send for RelocationTarget
impl StructuralPartialEq for RelocationTarget
impl Sync for RelocationTarget
impl Unpin for RelocationTarget
impl UnwindSafe for RelocationTarget
impl<T> Any for RelocationTarget
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for RelocationTarget
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for RelocationTarget
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for RelocationTarget
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for RelocationTarget
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for RelocationTarget
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for RelocationTarget
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for RelocationTarget
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for RelocationTarget
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>