Struct process_builder::elf_parse::Elf64FileHeader
source · #[repr(C)]pub struct Elf64FileHeader {}
Fields§
§ident: ElfIdent
§elf_type: u16
§machine: u16
§version: u32
§entry: usize
§phoff: usize
§shoff: usize
§flags: u32
§ehsize: u16
§phentsize: u16
§phnum: u16
§shentsize: u16
§shnum: u16
§shstrndx: u16
Implementations§
Trait Implementations§
source§impl Clone for Elf64FileHeader
impl Clone for Elf64FileHeader
source§fn clone(&self) -> Elf64FileHeader
fn clone(&self) -> Elf64FileHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Elf64FileHeader
impl Debug for Elf64FileHeader
source§impl Default for Elf64FileHeader
impl Default for Elf64FileHeader
source§fn default() -> Elf64FileHeader
fn default() -> Elf64FileHeader
Returns the “default value” for a type. Read more
source§impl FromBytes for Elf64FileHeader
impl FromBytes for Elf64FileHeader
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for Elf64FileHeader
impl FromZeros for Elf64FileHeader
source§impl IntoBytes for Elf64FileHeaderwhere
ElfIdent: IntoBytes,
u16: IntoBytes,
u32: IntoBytes,
usize: IntoBytes,
HasPadding<Elf64FileHeader, { _ }>: ShouldBe<false>,
impl IntoBytes for Elf64FileHeaderwhere
ElfIdent: IntoBytes,
u16: IntoBytes,
u32: IntoBytes,
usize: IntoBytes,
HasPadding<Elf64FileHeader, { _ }>: ShouldBe<false>,
source§impl PartialEq for Elf64FileHeader
impl PartialEq for Elf64FileHeader
source§fn eq(&self, other: &Elf64FileHeader) -> bool
fn eq(&self, other: &Elf64FileHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Elf64FileHeader
impl Eq for Elf64FileHeader
impl StructuralPartialEq for Elf64FileHeader
Auto Trait Implementations§
impl Freeze for Elf64FileHeader
impl RefUnwindSafe for Elf64FileHeader
impl Send for Elf64FileHeader
impl Sync for Elf64FileHeader
impl Unpin for Elf64FileHeader
impl UnwindSafe for Elf64FileHeader
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§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
)