pub enum NameAttributeValue<R: Reader> {
Unsigned(u64),
Offset(R::Offset),
Flag(bool),
}Expand description
A parsed attribute value for a NameEntry.
Variants§
Unsigned(u64)
An unsigned integer.
This can be from the following forms:
DW_FORM_data1, DW_FORM_data2, DW_FORM_data4, DW_FORM_data8, DW_FORM_udata
Offset(R::Offset)
An offset within a DWARF section or part thereof.
This can be from the following forms:
DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_ref8, DW_FORM_ref_udata
Flag(bool)
A boolean flag.
This can be from the following forms:
DW_FORM_flag, DW_FORM_flag_present
Trait Implementations§
Source§impl<R: Clone + Reader> Clone for NameAttributeValue<R>
impl<R: Clone + Reader> Clone for NameAttributeValue<R>
Source§fn clone(&self) -> NameAttributeValue<R>
fn clone(&self) -> NameAttributeValue<R>
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 moreimpl<R: Copy + Reader> Copy for NameAttributeValue<R>
impl<R: Eq + Reader> Eq for NameAttributeValue<R>
impl<R: Reader> StructuralPartialEq for NameAttributeValue<R>
Auto Trait Implementations§
impl<R> Freeze for NameAttributeValue<R>
impl<R> RefUnwindSafe for NameAttributeValue<R>
impl<R> Send for NameAttributeValue<R>
impl<R> Sync for NameAttributeValue<R>
impl<R> Unpin for NameAttributeValue<R>
impl<R> UnsafeUnpin for NameAttributeValue<R>
impl<R> UnwindSafe for NameAttributeValue<R>
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§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.