Struct elf_riscv32::ProgramHeader
source · [−]#[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: u32
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProgramHeader
impl Send for ProgramHeader
impl Sync for ProgramHeader
impl Unpin for ProgramHeader
impl UnwindSafe for ProgramHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more