Struct ScatteredRelocationInfo
struct ScatteredRelocationInfo { ... }
Fields
r_address: u32offset in the section to what is being relocated
r_type: u8if not 0, machine specific relocation type
r_length: u80=byte, 1=word, 2=long, 3=quad
r_pcrel: boolwas relocated pc relative already
r_value: u32the value the item to be relocated is referring to (without any offset added)
Implementations
impl ScatteredRelocationInfo
fn relocation<E: Endian>(self: Self, endian: E) -> Relocation<E>Combine the fields into a
Relocation.
impl Clone for ScatteredRelocationInfo
fn clone(self: &Self) -> ScatteredRelocationInfo
impl Copy for ScatteredRelocationInfo
impl Debug for ScatteredRelocationInfo
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Freeze for ScatteredRelocationInfo
impl RefUnwindSafe for ScatteredRelocationInfo
impl Send for ScatteredRelocationInfo
impl Sync for ScatteredRelocationInfo
impl Unpin for ScatteredRelocationInfo
impl UnwindSafe for ScatteredRelocationInfo
impl<T> Any for ScatteredRelocationInfo
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ScatteredRelocationInfo
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ScatteredRelocationInfo
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for ScatteredRelocationInfo
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for ScatteredRelocationInfo
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for ScatteredRelocationInfo
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for ScatteredRelocationInfo
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 ScatteredRelocationInfo
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ScatteredRelocationInfo
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>