Struct Rel32
struct Rel32<E: Endian> { ... }
Relocation table entry without explicit addend.
Fields
r_offset: crate::endian::U32<E>Relocation address.
r_info: crate::endian::U32<E>Relocation type and symbol index.
Implementations
impl<E: Endian> Rel32<E>
fn r_sym(self: &Self, endian: E) -> u32Get the
r_symcomponent of ther_infofield.fn r_type(self: &Self, endian: E) -> u32Get the
r_typecomponent of ther_infofield.fn r_info(endian: E, r_sym: u32, r_type: u8) -> U32<E>Calculate the
r_infofield given ther_symandr_typecomponents.fn set_r_info(self: &mut Self, endian: E, r_sym: u32, r_type: u8)Set the
r_infofield given ther_symandr_typecomponents.
impl<E> Freeze for Rel32<E>
impl<E> RefUnwindSafe for Rel32<E>
impl<E> Send for Rel32<E>
impl<E> Sync for Rel32<E>
impl<E> Unpin for Rel32<E>
impl<E> UnwindSafe for Rel32<E>
impl<E: $crate::clone::Clone + Endian> Clone for Rel32<E>
fn clone(self: &Self) -> Rel32<E>
impl<E: $crate::fmt::Debug + Endian> Debug for Rel32<E>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<E: $crate::marker::Copy + Endian> Copy for Rel32<E>
impl<E: Endian> Pod for Rel32<E>
impl<Endian: endian::Endian> Rel for elf::Rel32<Endian>
fn r_offset(self: &Self, endian: <Self as >::Endian) -> <Self as >::Wordfn r_info(self: &Self, endian: <Self as >::Endian) -> <Self as >::Wordfn r_sym(self: &Self, endian: <Self as >::Endian) -> u32fn r_type(self: &Self, endian: <Self as >::Endian) -> u32
impl<T> Any for Rel32<E>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Rel32<E>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Rel32<E>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Rel32<E>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Rel32<E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Rel32<E>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Rel32<E>
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 Rel32<E>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Rel32<E>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>