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 duplicate 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
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.