#[repr(C)]pub struct ProgramHeader {
pub ty: ProgramType,
pub offset: Offset,
pub virt_addr: Address,
pub phys_addr: Address,
pub file_size: u32,
pub mem_size: u32,
pub flags: ProgramFlags,
pub align: u32,
}Fields§
§ty: ProgramType§offset: Offset§virt_addr: Address§phys_addr: Address§file_size: u32§mem_size: u32§flags: ProgramFlags§align: u32Implementations§
Trait Implementations§
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more