#[repr(C)]pub struct Section32 {
pub sectname: [u8; 16],
pub segname: [u8; 16],
pub addr: u32,
pub size: u32,
pub offset: u32,
pub align: u32,
pub reloff: u32,
pub nreloc: u32,
pub flags: u32,
pub reserved1: u32,
pub reserved2: u32,
}
Fields§
§sectname: [u8; 16]
name of this section
segname: [u8; 16]
segment this section goes in
addr: u32
memory address of this section
size: u32
size in bytes of this section
offset: u32
file offset of this section
align: u32
section alignment (power of 2)
reloff: u32
file offset of relocation entries
nreloc: u32
number of relocation entries
flags: u32
flags (section type and attributes)
reserved1: u32
reserved (for offset or index)
reserved2: u32
reserved (for count or sizeof)
Trait Implementations§
Source§impl<'a> TryIntoCtx<Endian> for &'a Section32
impl<'a> TryIntoCtx<Endian> for &'a Section32
Source§impl TryIntoCtx<Endian> for Section32
impl TryIntoCtx<Endian> for Section32
impl Copy for Section32
Auto Trait Implementations§
impl Freeze for Section32
impl RefUnwindSafe for Section32
impl Send for Section32
impl Sync for Section32
impl Unpin for Section32
impl UnwindSafe for Section32
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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
)