pub struct Header {Show 19 fields
pub ident_magic: [u8; 4],
pub ident_class: Class,
pub ident_endianness: Endianness,
pub ident_version: u8,
pub ident_abi: Abi,
pub ident_abiversion: u8,
pub etype: ElfType,
pub machine: Machine,
pub version: u32,
pub entry: u64,
pub phoff: u64,
pub shoff: u64,
pub flags: HeaderFlags,
pub ehsize: u16,
pub phentsize: u16,
pub phnum: u16,
pub shentsize: u16,
pub shnum: u16,
pub shstrndx: u16,
}
Fields§
§ident_magic: [u8; 4]
§ident_class: Class
§ident_endianness: Endianness
§ident_version: u8
§ident_abi: Abi
§ident_abiversion: u8
§etype: ElfType
§machine: Machine
§version: u32
§entry: u64
§phoff: u64
§shoff: u64
§flags: HeaderFlags
§ehsize: u16
§phentsize: u16
§phnum: u16
§shentsize: u16
§shnum: u16
§shstrndx: u16
Implementations§
Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more