pub struct SectionDescriptor {
pub id: u16,
pub flags: u16,
pub offset: u32,
pub size: u32,
}Expand description
A 12-byte section descriptor.
Fields§
§id: u16Section kind, unique and ascending.
flags: u16Bit 0: required; all other bits reserved.
offset: u32Absolute file offset.
size: u32Payload length.
Trait Implementations§
Source§impl Clone for SectionDescriptor
impl Clone for SectionDescriptor
impl Copy for SectionDescriptor
Source§impl Debug for SectionDescriptor
impl Debug for SectionDescriptor
impl Eq for SectionDescriptor
Source§impl PartialEq for SectionDescriptor
impl PartialEq for SectionDescriptor
impl StructuralPartialEq for SectionDescriptor
Auto Trait Implementations§
impl Freeze for SectionDescriptor
impl RefUnwindSafe for SectionDescriptor
impl Send for SectionDescriptor
impl Sync for SectionDescriptor
impl Unpin for SectionDescriptor
impl UnsafeUnpin for SectionDescriptor
impl UnwindSafe for SectionDescriptor
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