#[repr(C)]pub struct Note {
pub n_namesz: u64,
pub n_descsz: u64,
pub n_type: u64,
}
Expand description
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§
Source§impl Plain for Nhdr64
impl Plain for Nhdr64
fn from_bytes(bytes: &[u8]) -> Result<&Self, Error>where
Self: Sized,
fn slice_from_bytes(bytes: &[u8]) -> Result<&[Self], Error>where
Self: Sized,
fn slice_from_bytes_len(bytes: &[u8], len: usize) -> Result<&[Self], Error>where
Self: Sized,
fn from_mut_bytes(bytes: &mut [u8]) -> Result<&mut Self, Error>where
Self: Sized,
fn slice_from_mut_bytes(bytes: &mut [u8]) -> Result<&mut [Self], Error>where
Self: Sized,
fn slice_from_mut_bytes_len(
bytes: &mut [u8],
len: usize,
) -> Result<&mut [Self], Error>where
Self: Sized,
fn copy_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>
Source§impl<'a> TryIntoCtx<Endian> for &'a Nhdr64
impl<'a> TryIntoCtx<Endian> for &'a Nhdr64
Source§impl TryIntoCtx<Endian> for Nhdr64
impl TryIntoCtx<Endian> for Nhdr64
impl Copy for Nhdr64
Auto Trait Implementations§
impl Freeze for Nhdr64
impl RefUnwindSafe for Nhdr64
impl Send for Nhdr64
impl Sync for Nhdr64
impl Unpin for Nhdr64
impl UnwindSafe for Nhdr64
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more