#[repr(C)]pub struct ElfHeaderIdent {
pub magic: [u8; 4],
pub class: u8,
pub data: u8,
pub version: u8,
pub os_abi: u8,
pub abi_version: u8,
pub padding: [u8; 7],
}
Fields§
§magic: [u8; 4]
§class: u8
§data: u8
§version: u8
§os_abi: u8
§abi_version: u8
§padding: [u8; 7]
Trait Implementations§
Source§impl Clone for ElfHeaderIdent
impl Clone for ElfHeaderIdent
Source§fn clone(&self) -> ElfHeaderIdent
fn clone(&self) -> ElfHeaderIdent
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ElfHeaderIdent
impl Debug for ElfHeaderIdent
Source§impl Default for ElfHeaderIdent
impl Default for ElfHeaderIdent
Source§fn default() -> ElfHeaderIdent
fn default() -> ElfHeaderIdent
Returns the “default value” for a type. Read more
Source§impl PartialEq for ElfHeaderIdent
impl PartialEq for ElfHeaderIdent
impl Copy for ElfHeaderIdent
impl Eq for ElfHeaderIdent
impl StructuralPartialEq for ElfHeaderIdent
Auto Trait Implementations§
impl Freeze for ElfHeaderIdent
impl RefUnwindSafe for ElfHeaderIdent
impl Send for ElfHeaderIdent
impl Sync for ElfHeaderIdent
impl Unpin for ElfHeaderIdent
impl UnwindSafe for ElfHeaderIdent
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
)