Enum object::build::elf::AttributeTag
source · pub enum AttributeTag {
File,
Section(Vec<SectionId>),
Symbol(Vec<SymbolId>),
}
Expand description
The tag for a sub-subsection in an attributes section.
Variants§
File
The attributes apply to the whole file.
Correspeonds to elf::Tag_File
.
Section(Vec<SectionId>)
The attributes apply to the given sections.
Correspeonds to elf::Tag_Section
.
Symbol(Vec<SymbolId>)
The attributes apply to the given symbols.
Correspeonds to elf::Tag_Symbol
.
Implementations§
Trait Implementations§
source§impl Clone for AttributeTag
impl Clone for AttributeTag
source§fn clone(&self) -> AttributeTag
fn clone(&self) -> AttributeTag
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 moresource§impl Debug for AttributeTag
impl Debug for AttributeTag
source§impl PartialEq for AttributeTag
impl PartialEq for AttributeTag
source§fn eq(&self, other: &AttributeTag) -> bool
fn eq(&self, other: &AttributeTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AttributeTag
impl StructuralPartialEq for AttributeTag
Auto Trait Implementations§
impl Freeze for AttributeTag
impl RefUnwindSafe for AttributeTag
impl Send for AttributeTag
impl Sync for AttributeTag
impl Unpin for AttributeTag
impl UnwindSafe for AttributeTag
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.