[][src]Struct object::elf::ProgramHeader32

#[repr(C)]pub struct ProgramHeader32<E: Endian> {
    pub p_type: U32<E>,
    pub p_offset: U32<E>,
    pub p_vaddr: U32<E>,
    pub p_paddr: U32<E>,
    pub p_filesz: U32<E>,
    pub p_memsz: U32<E>,
    pub p_flags: U32<E>,
    pub p_align: U32<E>,
}

Program segment header.

Fields

p_type: U32<E>

Segment type. One of the PT_* constants.

p_offset: U32<E>

Segment file offset.

p_vaddr: U32<E>

Segment virtual address.

p_paddr: U32<E>

Segment physical address.

p_filesz: U32<E>

Segment size in the file.

p_memsz: U32<E>

Segment size in memory.

p_flags: U32<E>

Segment flags. A combination of the PF_* constants.

p_align: U32<E>

Segment alignment.

Trait Implementations

impl<E: Clone + Endian> Clone for ProgramHeader32<E>[src]

impl<E: Copy + Endian> Copy for ProgramHeader32<E>[src]

impl<E: Debug + Endian> Debug for ProgramHeader32<E>[src]

impl<E: Endian> Pod for ProgramHeader32<E>[src]

impl<Endian: Endian> ProgramHeader for ProgramHeader32<Endian>[src]

type Word = u32

type Endian = Endian

type Elf = FileHeader32<Endian>

Auto Trait Implementations

impl<E> RefUnwindSafe for ProgramHeader32<E> where
    E: RefUnwindSafe

impl<E> Send for ProgramHeader32<E> where
    E: Send

impl<E> Sync for ProgramHeader32<E> where
    E: Sync

impl<E> Unpin for ProgramHeader32<E> where
    E: Unpin

impl<E> UnwindSafe for ProgramHeader32<E> where
    E: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.