#[repr(C)]pub struct Nhdr32 {
pub n_namesz: u32,
pub n_descsz: u32,
pub n_type: u32,
}
Expand description
Note section contents. Each entry in the note section begins with a header of a fixed form.
Fields§
§n_namesz: u32
Length of the note’s name (includes the terminator)
n_descsz: u32
Length of the note’s descriptor
n_type: u32
Type of the note
Trait Implementations§
source§impl Plain for Nhdr32
impl Plain for Nhdr32
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>
impl Copy for Nhdr32
Auto Trait Implementations§
impl RefUnwindSafe for Nhdr32
impl Send for Nhdr32
impl Sync for Nhdr32
impl Unpin for Nhdr32
impl UnwindSafe for Nhdr32
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