#[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: ProgramTypeoffset: Offsetvirt_addr: Addressphys_addr: Addressfile_size: u32mem_size: u32flags: ProgramFlagsalign: u32

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.