pub struct NoteEntry {
pub note_type: u32,
pub name: String,
pub desc: Vec<u8>,
}Expand description
One entry inside an Item::Notes block. Mirrors the structure
of an ELF note (Elf64_Nhdr + name + desc, each padded to a
4-byte boundary).
Fields§
§note_type: u32Note type (NT_GNU_PROPERTY_TYPE_0, NT_GNU_BUILD_ID, …).
name: StringOwner string ("GNU" for GNU notes, etc.). Encoded with a
trailing NUL byte then padded to a 4-byte boundary.
desc: Vec<u8>Descriptor bytes — opaque payload, padded to a 4-byte boundary on emit.
Trait Implementations§
impl Eq for NoteEntry
impl StructuralPartialEq for NoteEntry
Auto Trait Implementations§
impl Freeze for NoteEntry
impl RefUnwindSafe for NoteEntry
impl Send for NoteEntry
impl Sync for NoteEntry
impl Unpin for NoteEntry
impl UnsafeUnpin for NoteEntry
impl UnwindSafe for NoteEntry
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