Struct xmas_elf::program::ProgramHeader64[][src]

#[repr(C)]pub struct ProgramHeader64 {
    pub type_: Type_,
    pub flags: Flags,
    pub offset: u64,
    pub virtual_addr: u64,
    pub physical_addr: u64,
    pub file_size: u64,
    pub mem_size: u64,
    pub align: u64,
}

Fields

type_: Type_flags: Flagsoffset: u64virtual_addr: u64physical_addr: u64file_size: u64mem_size: u64align: u64

Implementations

impl ProgramHeader64[src]

pub fn get_type(&self) -> Result<Type, &'static str>[src]

pub fn get_data<'a>(
    &self,
    elf_file: &ElfFile<'a>
) -> Result<SegmentData<'a>, &'static str>
[src]

pub fn raw_data<'a>(&self, elf_file: &ElfFile<'a>) -> &'a [u8][src]

Trait Implementations

impl Clone for ProgramHeader64[src]

impl Copy for ProgramHeader64[src]

impl Debug for ProgramHeader64[src]

impl Default for ProgramHeader64[src]

impl Display for ProgramHeader64[src]

impl Pod for ProgramHeader64[src]

Auto Trait Implementations

impl Send for ProgramHeader64

impl Sync for ProgramHeader64

impl Unpin for ProgramHeader64

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, 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.