Struct Elf32_Ehdr

#[repr(C)]
pub struct Elf32_Ehdr { pub e_ident: [c_uchar; 16], pub e_type: Elf32_Half, pub e_machine: Elf32_Half, pub e_version: Elf32_Word, pub e_entry: Elf32_Addr, pub e_phoff: Elf32_Off, pub e_shoff: Elf32_Off, pub e_flags: Elf32_Word, pub e_ehsize: Elf32_Half, pub e_phentsize: Elf32_Half, pub e_phnum: Elf32_Half, pub e_shentsize: Elf32_Half, pub e_shnum: Elf32_Half, pub e_shstrndx: Elf32_Half }

Fields

e_ident: [c_uchar; 16]
e_type: Elf32_Half
e_machine: Elf32_Half
e_version: Elf32_Word
e_entry: Elf32_Addr
e_phoff: Elf32_Off
e_shoff: Elf32_Off
e_flags: Elf32_Word
e_ehsize: Elf32_Half
e_phentsize: Elf32_Half
e_phnum: Elf32_Half
e_shentsize: Elf32_Half
e_shnum: Elf32_Half
e_shstrndx: Elf32_Half

Trait Implementations

impl Clone for Elf32_Ehdr

fn clone(&self) -> Elf32_Ehdr

impl Copy for Elf32_Ehdr

impl Debug for Elf32_Ehdr

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for Elf32_Ehdr

impl Hash for Elf32_Ehdr

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for Elf32_Ehdr

fn eq(&self, other: &Elf32_Ehdr) -> bool

impl StructuralPartialEq for Elf32_Ehdr

Auto Trait Implementations

impl Freeze for Elf32_Ehdr

impl RefUnwindSafe for Elf32_Ehdr

impl Send for Elf32_Ehdr

impl Sync for Elf32_Ehdr

impl Unpin for Elf32_Ehdr

impl UnsafeUnpin for Elf32_Ehdr

impl UnwindSafe for Elf32_Ehdr

Blanket Implementations

impl<T> Any for Elf32_Ehdr where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for Elf32_Ehdr where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for Elf32_Ehdr where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for Elf32_Ehdr where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for Elf32_Ehdr

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for Elf32_Ehdr where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for Elf32_Ehdr where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for Elf32_Ehdr where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>