#[repr(C)]pub struct ElfIdent {
pub ei_mag: [u8; 4],
pub ei_class: u8,
pub ei_data: u8,
pub ei_version: u8,
pub ei_osabi: u8,
pub ei_abiversion: u8,
pub ei_pad: [u8; 7],
}
Fields§
§ei_mag: [u8; 4]
§ei_class: u8
§ei_data: u8
§ei_version: u8
§ei_osabi: u8
§ei_abiversion: u8
§ei_pad: [u8; 7]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ElfIdent
impl RefUnwindSafe for ElfIdent
impl Send for ElfIdent
impl Sync for ElfIdent
impl Unpin for ElfIdent
impl UnwindSafe for ElfIdent
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