Struct process_builder::elf_parse::elf64_sym
source · #[repr(C)]pub struct elf64_sym {
pub st_name: Elf64Word,
pub st_info: u8,
pub st_other: u8,
pub st_shndx: Elf64Half,
pub st_value: Elf64Addr,
pub st_size: Elf64Xword,
}
Fields§
§st_name: Elf64Word
§st_info: u8
§st_other: u8
§st_shndx: Elf64Half
§st_value: Elf64Addr
§st_size: Elf64Xword
Trait Implementations§
source§impl FromBytes for elf64_symwhere
Elf64Word: FromBytes,
u8: FromBytes,
Elf64Half: FromBytes,
Elf64Addr: FromBytes,
Elf64Xword: FromBytes,
impl FromBytes for elf64_symwhere
Elf64Word: FromBytes,
u8: FromBytes,
Elf64Half: FromBytes,
Elf64Addr: FromBytes,
Elf64Xword: FromBytes,
§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 elf64_symwhere
Elf64Word: FromZeros,
u8: FromZeros,
Elf64Half: FromZeros,
Elf64Addr: FromZeros,
Elf64Xword: FromZeros,
impl FromZeros for elf64_symwhere
Elf64Word: FromZeros,
u8: FromZeros,
Elf64Half: FromZeros,
Elf64Addr: FromZeros,
Elf64Xword: FromZeros,
source§impl IntoBytes for elf64_sym
impl IntoBytes for elf64_sym
impl Copy for elf64_sym
Auto Trait Implementations§
impl Freeze for elf64_sym
impl RefUnwindSafe for elf64_sym
impl Send for elf64_sym
impl Sync for elf64_sym
impl Unpin for elf64_sym
impl UnwindSafe for elf64_sym
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