Struct ProgramHeader32
struct ProgramHeader32<E: Endian> { ... }
Program segment header.
Fields
p_type: crate::endian::U32<E>Segment type. One of the
PT_*constants.p_offset: crate::endian::U32<E>Segment file offset.
p_vaddr: crate::endian::U32<E>Segment virtual address.
p_paddr: crate::endian::U32<E>Segment physical address.
p_filesz: crate::endian::U32<E>Segment size in the file.
p_memsz: crate::endian::U32<E>Segment size in memory.
p_flags: crate::endian::U32<E>Segment flags. A combination of the
PF_*constants.p_align: crate::endian::U32<E>Segment alignment.
Implementations
impl<E> Freeze for ProgramHeader32<E>
impl<E> RefUnwindSafe for ProgramHeader32<E>
impl<E> Send for ProgramHeader32<E>
impl<E> Sync for ProgramHeader32<E>
impl<E> Unpin for ProgramHeader32<E>
impl<E> UnwindSafe for ProgramHeader32<E>
impl<E: $crate::clone::Clone + Endian> Clone for ProgramHeader32<E>
fn clone(self: &Self) -> ProgramHeader32<E>
impl<E: $crate::fmt::Debug + Endian> Debug for ProgramHeader32<E>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<E: $crate::marker::Copy + Endian> Copy for ProgramHeader32<E>
impl<E: Endian> Pod for ProgramHeader32<E>
impl<Endian: endian::Endian> ProgramHeader for elf::ProgramHeader32<Endian>
fn p_type(self: &Self, endian: <Self as >::Endian) -> u32fn p_flags(self: &Self, endian: <Self as >::Endian) -> u32fn p_offset(self: &Self, endian: <Self as >::Endian) -> <Self as >::Wordfn p_vaddr(self: &Self, endian: <Self as >::Endian) -> <Self as >::Wordfn p_paddr(self: &Self, endian: <Self as >::Endian) -> <Self as >::Wordfn p_filesz(self: &Self, endian: <Self as >::Endian) -> <Self as >::Wordfn p_memsz(self: &Self, endian: <Self as >::Endian) -> <Self as >::Wordfn p_align(self: &Self, endian: <Self as >::Endian) -> <Self as >::Word
impl<T> Any for ProgramHeader32<E>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ProgramHeader32<E>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ProgramHeader32<E>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for ProgramHeader32<E>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for ProgramHeader32<E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for ProgramHeader32<E>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for ProgramHeader32<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 ProgramHeader32<E>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ProgramHeader32<E>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>