Struct Rel64

struct Rel64<E: Endian> { ... }

Relocation table entry without explicit addend.

Fields

r_offset: crate::endian::U64<E>

Relocation address.

r_info: crate::endian::U64<E>

Relocation type and symbol index.

Implementations

impl<E: Endian> Rel64<E>

fn r_sym(self: &Self, endian: E) -> u32

Get the r_sym component of the r_info field.

fn r_type(self: &Self, endian: E) -> u32

Get the r_type component of the r_info field.

fn r_info(endian: E, r_sym: u32, r_type: u32) -> U64<E>

Calculate the r_info field given the r_sym and r_type components.

fn set_r_info(self: &mut Self, endian: E, r_sym: u32, r_type: u32)

Set the r_info field given the r_sym and r_type components.

impl<E> Freeze for Rel64<E>

impl<E> RefUnwindSafe for Rel64<E>

impl<E> Send for Rel64<E>

impl<E> Sync for Rel64<E>

impl<E> Unpin for Rel64<E>

impl<E> UnwindSafe for Rel64<E>

impl<E: $crate::clone::Clone + Endian> Clone for Rel64<E>

fn clone(self: &Self) -> Rel64<E>

impl<E: $crate::fmt::Debug + Endian> Debug for Rel64<E>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl<E: $crate::marker::Copy + Endian> Copy for Rel64<E>

impl<E: Endian> Pod for Rel64<E>

impl<Endian: endian::Endian> Rel for elf::Rel64<Endian>

fn r_offset(self: &Self, endian: <Self as >::Endian) -> <Self as >::Word
fn r_info(self: &Self, endian: <Self as >::Endian) -> <Self as >::Word
fn r_sym(self: &Self, endian: <Self as >::Endian) -> u32
fn r_type(self: &Self, endian: <Self as >::Endian) -> u32

impl<T> Any for Rel64<E>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Rel64<E>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Rel64<E>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Rel64<E>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Rel64<E>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Rel64<E>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Rel64<E>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Rel64<E>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Rel64<E>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>