[][src]Struct object::elf::ProgramHeader64

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

Program segment header.

Fields

p_type: U32<E>

Segment type. One of the PT_* constants.

p_flags: U32<E>

Segment flags. A combination of the PF_* constants.

p_offset: U64<E>

Segment file offset.

p_vaddr: U64<E>

Segment virtual address.

p_paddr: U64<E>

Segment physical address.

p_filesz: U64<E>

Segment size in the file.

p_memsz: U64<E>

Segment size in memory.

p_align: U64<E>

Segment alignment.

Trait Implementations

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

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

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

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

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

type Word = u64

type Endian = Endian

type Elf = FileHeader64<Endian>

Auto Trait Implementations

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

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

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

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.