pub struct Header {
pub class: Class,
pub encoding: Encoding,
pub machine: u16,
pub flags: u32,
}
Expand description
Represents the main ELF header.
Fields§
§class: Class
The ELF file class (32-bit or 64-bit).
encoding: Encoding
The data encoding (LSB first or MSB first).
machine: u16
The target CPU architecture, using values allocated in the ELF documentation.
flags: u32
Machine-specific file flags.
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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