Struct lief::elf::note::NoteGnuProperty
pub struct NoteGnuProperty<'a> { /* private fields */ }Expand description
Note representing a GNU Property (NT_GNU_PROPERTY_TYPE_0)
Implementations§
§impl NoteGnuProperty<'_>
impl NoteGnuProperty<'_>
pub fn properties(&self) -> PropertiesIt<'_> ⓘ
pub fn properties(&self) -> PropertiesIt<'_> ⓘ
Return the properties as an iterator
pub fn find(&self, prop_type: PropertyType) -> Option<Properties<'_>>
pub fn find(&self, prop_type: PropertyType) -> Option<Properties<'_>>
Find a property by its type
Trait Implementations§
§impl Debug for NoteGnuProperty<'_>
impl Debug for NoteGnuProperty<'_>
§impl NoteBase for NoteGnuProperty<'_>
impl NoteBase for NoteGnuProperty<'_>
§fn get_type(&self) -> Type
fn get_type(&self) -> Type
Return the type of the note. This type does not match the
NT_ type
value. For accessing the original NT_ value, check NoteBase::original_type§fn original_type(&self) -> u32
fn original_type(&self) -> u32
The original
NT_xxx integer value. The meaning of this value likely
depends on the owner of the note.§fn description(&self) -> &[u8] ⓘ
fn description(&self) -> &[u8] ⓘ
Return the description associated with the note
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NoteGnuProperty<'a>
impl<'a> !Send for NoteGnuProperty<'a>
impl<'a> !Sync for NoteGnuProperty<'a>
impl<'a> Unpin for NoteGnuProperty<'a>
impl<'a> !UnwindSafe for NoteGnuProperty<'a>
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