#[repr(C, packed(1))]pub struct Section {
pub name: [u8; 16],
pub is_loadable: bool,
pub is_execable: bool,
pub base: u32,
pub length: u32,
pub _reserved: [u8; 6],
}Expand description
A section entry.
Fields§
§name: [u8; 16]The section name (16 bytes max).
is_loadable: boolAssign is this section loadable
is_execable: boolAssign is this section executable
base: u32The offset of the section start.
length: u32The length of the section.
_reserved: [u8; 6]Reserved bits
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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