#[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
sourceimpl<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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more