#[repr(C)]pub struct Rela32<E: Endian> {
pub r_offset: U32<E>,
pub r_info: U32<E>,
pub r_addend: I32<E>,
}
Expand description
Relocation table entry with explicit addend.
Fields§
§r_offset: U32<E>
Relocation address.
r_info: U32<E>
Relocation type and symbol index.
r_addend: I32<E>
Explicit addend.
Implementations§
Trait Implementations§
source§impl<Endian: Endian> Rela for Rela32<Endian>
impl<Endian: Endian> Rela for Rela32<Endian>
type Word = u32
type Sword = i32
type Endian = Endian
fn r_offset(&self, endian: Self::Endian) -> Self::Word
fn r_info(&self, endian: Self::Endian, _is_mips64el: bool) -> Self::Word
fn r_addend(&self, endian: Self::Endian) -> Self::Sword
fn r_sym(&self, endian: Self::Endian, _is_mips64el: bool) -> u32
fn r_type(&self, endian: Self::Endian, _is_mips64el: bool) -> u32
impl<E: Copy + Endian> Copy for Rela32<E>
impl<E: Endian> Pod for Rela32<E>
Auto Trait Implementations§
impl<E> Freeze for Rela32<E>
impl<E> RefUnwindSafe for Rela32<E>where
E: RefUnwindSafe,
impl<E> Send for Rela32<E>where
E: Send,
impl<E> Sync for Rela32<E>where
E: Sync,
impl<E> Unpin for Rela32<E>where
E: Unpin,
impl<E> UnwindSafe for Rela32<E>where
E: UnwindSafe,
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