#[repr(C)]pub struct Elf64SectionHeader {
pub name: u32,
pub type_: u32,
pub flags: u64,
pub addr: u64,
pub offset: u64,
pub size: u64,
pub link: u32,
pub info: u32,
pub addr_align: u64,
pub ent_sz: u64,
}Fields§
§name: u32§type_: u32§flags: u64§addr: u64§offset: u64§size: u64§link: u32§info: u32§addr_align: u64§ent_sz: u64Trait Implementations§
Source§impl Clone for Elf64SectionHeader
impl Clone for Elf64SectionHeader
Source§fn clone(&self) -> Elf64SectionHeader
fn clone(&self) -> Elf64SectionHeader
Returns a duplicate 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 Elf64SectionHeader
impl Debug for Elf64SectionHeader
Source§impl Default for Elf64SectionHeader
impl Default for Elf64SectionHeader
Source§fn default() -> Elf64SectionHeader
fn default() -> Elf64SectionHeader
Returns the “default value” for a type. Read more
Source§impl FromBytes for Elf64SectionHeader
impl FromBytes for Elf64SectionHeader
Source§impl FromZeros for Elf64SectionHeader
impl FromZeros for Elf64SectionHeader
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl IntoBytes for Elf64SectionHeader
impl IntoBytes for Elf64SectionHeader
Source§impl TryFromBytes for Elf64SectionHeader
impl TryFromBytes for Elf64SectionHeader
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for Elf64SectionHeader
impl RefUnwindSafe for Elf64SectionHeader
impl Send for Elf64SectionHeader
impl Sync for Elf64SectionHeader
impl Unpin for Elf64SectionHeader
impl UnsafeUnpin for Elf64SectionHeader
impl UnwindSafe for Elf64SectionHeader
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