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

#[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

Methods

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 Debug for ProgramHeader64[src]

impl Display for ProgramHeader64[src]

impl Copy for ProgramHeader64[src]

impl Clone for ProgramHeader64[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for ProgramHeader64[src]

impl Pod for ProgramHeader64[src]

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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