Struct goblin::elf::note::Nhdr64
[−]
[src]
#[repr(C)]pub struct Nhdr64 { pub n_namesz: u64, pub n_descsz: u64, pub n_type: u64, }
Note section contents. Each entry in the note section begins with a header of a fixed form.
Fields
n_namesz: u64
Length of the note's name (includes the terminator)
n_descsz: u64
Length of the note's descriptor.
n_type: u64
Type of the note.
Trait Implementations
impl Clone for Nhdr64
[src]
fn clone(&self) -> Nhdr64
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Nhdr64
[src]
impl Debug for Nhdr64
[src]
impl<'a> TryFromCtx<'a, Endian> for Nhdr64 where
Nhdr64: 'a,
[src]
Nhdr64: 'a,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl TryIntoCtx<Endian> for Nhdr64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>
[src]
self,
dst: &mut [u8],
ctx: Endian
) -> Result<Self::Size, Self::Error>