Struct libelf_sys::Elf64_Ehdr
source · [−]#[repr(C)]pub struct Elf64_Ehdr {Show 14 fields
pub e_ident: [c_uchar; 16],
pub e_type: Elf64_Half,
pub e_machine: Elf64_Half,
pub e_version: Elf64_Word,
pub e_entry: Elf64_Addr,
pub e_phoff: Elf64_Off,
pub e_shoff: Elf64_Off,
pub e_flags: Elf64_Word,
pub e_ehsize: Elf64_Half,
pub e_phentsize: Elf64_Half,
pub e_phnum: Elf64_Half,
pub e_shentsize: Elf64_Half,
pub e_shnum: Elf64_Half,
pub e_shstrndx: Elf64_Half,
}
Fields
e_ident: [c_uchar; 16]
e_type: Elf64_Half
e_machine: Elf64_Half
e_version: Elf64_Word
e_entry: Elf64_Addr
e_phoff: Elf64_Off
e_shoff: Elf64_Off
e_flags: Elf64_Word
e_ehsize: Elf64_Half
e_phentsize: Elf64_Half
e_phnum: Elf64_Half
e_shentsize: Elf64_Half
e_shnum: Elf64_Half
e_shstrndx: Elf64_Half
Trait Implementations
sourceimpl Clone for Elf64_Ehdr
impl Clone for Elf64_Ehdr
sourcefn clone(&self) -> Elf64_Ehdr
fn clone(&self) -> Elf64_Ehdr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Elf64_Ehdr
impl Debug for Elf64_Ehdr
impl Copy for Elf64_Ehdr
Auto Trait Implementations
impl RefUnwindSafe for Elf64_Ehdr
impl Send for Elf64_Ehdr
impl Sync for Elf64_Ehdr
impl Unpin for Elf64_Ehdr
impl UnwindSafe for Elf64_Ehdr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more