#[repr(C)]pub struct ProgramHeader {
pub p_type: u32,
pub p_flags: u32,
pub p_offset: usize,
pub p_vaddr: usize,
pub p_paddr: usize,
pub p_filesz: usize,
pub p_memsz: usize,
pub p_align: usize,
}
Fields§
§p_type: u32
§p_flags: u32
§p_offset: usize
§p_vaddr: usize
§p_paddr: usize
§p_filesz: usize
§p_memsz: usize
§p_align: usize
Implementations§
Source§impl ProgramHeader
impl ProgramHeader
pub fn vaddr_range(&self) -> Range<usize>
Trait Implementations§
Source§impl Clone for ProgramHeader
impl Clone for ProgramHeader
Source§fn clone(&self) -> ProgramHeader
fn clone(&self) -> ProgramHeader
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProgramHeader
impl Debug for ProgramHeader
Source§impl Default for ProgramHeader
impl Default for ProgramHeader
Source§fn default() -> ProgramHeader
fn default() -> ProgramHeader
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProgramHeader
impl PartialEq for ProgramHeader
impl Copy for ProgramHeader
impl Eq for ProgramHeader
impl StructuralPartialEq for ProgramHeader
Auto Trait Implementations§
impl Freeze for ProgramHeader
impl RefUnwindSafe for ProgramHeader
impl Send for ProgramHeader
impl Sync for ProgramHeader
impl Unpin for ProgramHeader
impl UnwindSafe for ProgramHeader
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)