[−][src]Struct xmas_elf::program::ProgramHeader64
Fields
type_: Type_
flags: Flags
offset: u64
virtual_addr: u64
physical_addr: u64
file_size: u64
mem_size: u64
align: 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]
&self,
elf_file: &ElfFile<'a>
) -> Result<SegmentData<'a>, &'static str>
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(&self) -> 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]
fn default() -> ProgramHeader64
[src]
impl Pod for ProgramHeader64
[src]
Auto Trait Implementations
impl Send for ProgramHeader64
impl Sync for ProgramHeader64
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,