Struct object::read::elf::attributes::AttributesSubsection
source · pub struct AttributesSubsection<'data, Elf: FileHeader> {
endian: Elf::Endian,
length: u32,
vendor: &'data [u8],
data: Bytes<'data>,
}
Expand description
A subsection in an AttributesSection
.
A subsection is identified by a vendor name. It contains a series of
AttributesSubsubsection
.
Fields§
§endian: Elf::Endian
§length: u32
§vendor: &'data [u8]
§data: Bytes<'data>
Implementations§
source§impl<'data, Elf: FileHeader> AttributesSubsection<'data, Elf>
impl<'data, Elf: FileHeader> AttributesSubsection<'data, Elf>
sourcepub fn subsubsections(&self) -> AttributesSubsubsectionIterator<'data, Elf> ⓘ
pub fn subsubsections(&self) -> AttributesSubsubsectionIterator<'data, Elf> ⓘ
Return an iterator over the sub-subsections.
Trait Implementations§
source§impl<'data, Elf: Clone + FileHeader> Clone for AttributesSubsection<'data, Elf>
impl<'data, Elf: Clone + FileHeader> Clone for AttributesSubsection<'data, Elf>
source§fn clone(&self) -> AttributesSubsection<'data, Elf>
fn clone(&self) -> AttributesSubsection<'data, Elf>
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, Elf> Freeze for AttributesSubsection<'data, Elf>
impl<'data, Elf> RefUnwindSafe for AttributesSubsection<'data, Elf>
impl<'data, Elf> Send for AttributesSubsection<'data, Elf>
impl<'data, Elf> Sync for AttributesSubsection<'data, Elf>
impl<'data, Elf> Unpin for AttributesSubsection<'data, Elf>
impl<'data, Elf> UnwindSafe for AttributesSubsection<'data, Elf>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)