Struct object::build::elf::AttributesSubsection
source · pub struct AttributesSubsection<'data> {
pub vendor: ByteString<'data>,
pub subsubsections: Vec<AttributesSubsubsection<'data>>,
}
Expand description
A subsection of an attributes section.
Fields§
§vendor: ByteString<'data>
The vendor namespace for these attributes.
subsubsections: Vec<AttributesSubsubsection<'data>>
The sub-subsections.
Implementations§
source§impl<'data> AttributesSubsection<'data>
impl<'data> AttributesSubsection<'data>
sourcepub fn new(vendor: ByteString<'data>) -> Self
pub fn new(vendor: ByteString<'data>) -> Self
Create a new subsection.
Trait Implementations§
source§impl<'data> Clone for AttributesSubsection<'data>
impl<'data> Clone for AttributesSubsection<'data>
source§fn clone(&self) -> AttributesSubsection<'data>
fn clone(&self) -> AttributesSubsection<'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 AttributesSubsection<'data>
impl<'data> RefUnwindSafe for AttributesSubsection<'data>
impl<'data> Send for AttributesSubsection<'data>
impl<'data> Sync for AttributesSubsection<'data>
impl<'data> Unpin for AttributesSubsection<'data>
impl<'data> UnwindSafe for AttributesSubsection<'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