Struct object::read::elf::AttributesSubsubsection
source · pub struct AttributesSubsubsection<'data> { /* private fields */ }
Expand description
A sub-subsection in an ELF attributes section.
A sub-subsection is identified by a tag. It contains an optional series of indices, followed by a series of attributes.
Implementations§
source§impl<'data> AttributesSubsubsection<'data>
impl<'data> AttributesSubsubsection<'data>
sourcepub fn indices_data(&self) -> &'data [u8]
pub fn indices_data(&self) -> &'data [u8]
Return the data containing the indices.
sourcepub fn indices(&self) -> AttributeIndexIterator<'data>
pub fn indices(&self) -> AttributeIndexIterator<'data>
Return the indices.
This will be section indices if the tag is Tag_Section
,
or symbol indices if the tag is Tag_Symbol
,
and otherwise it will be empty.
sourcepub fn attributes_data(&self) -> &'data [u8]
pub fn attributes_data(&self) -> &'data [u8]
Return the data containing the attributes.
sourcepub fn attributes(&self) -> AttributeReader<'data>
pub fn attributes(&self) -> AttributeReader<'data>
Return a parser for the data containing the attributes.
Trait Implementations§
source§impl<'data> Clone for AttributesSubsubsection<'data>
impl<'data> Clone for AttributesSubsubsection<'data>
source§fn clone(&self) -> AttributesSubsubsection<'data>
fn clone(&self) -> AttributesSubsubsection<'data>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'data> Freeze for AttributesSubsubsection<'data>
impl<'data> RefUnwindSafe for AttributesSubsubsection<'data>
impl<'data> Send for AttributesSubsubsection<'data>
impl<'data> Sync for AttributesSubsubsection<'data>
impl<'data> Unpin for AttributesSubsubsection<'data>
impl<'data> UnwindSafe for AttributesSubsubsection<'data>
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