pub struct NameTableIndex(pub u32);Expand description
An index into the name table of a NameIndex.
This is used as an index into the list of string offsets, the list of entry offsets, and the list of hashes.
Note that while the DWARF standard specifies that indexes in the DWARF data start at 1, we use a zero based index here. Functions that read an index from the data will automatically adjust the index to start at 0.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for NameTableIndex
impl Clone for NameTableIndex
Source§fn clone(&self) -> NameTableIndex
fn clone(&self) -> NameTableIndex
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 NameTableIndex
impl Debug for NameTableIndex
Source§impl PartialEq for NameTableIndex
impl PartialEq for NameTableIndex
impl Copy for NameTableIndex
impl Eq for NameTableIndex
impl StructuralPartialEq for NameTableIndex
Auto Trait Implementations§
impl Freeze for NameTableIndex
impl RefUnwindSafe for NameTableIndex
impl Send for NameTableIndex
impl Sync for NameTableIndex
impl Unpin for NameTableIndex
impl UnsafeUnpin for NameTableIndex
impl UnwindSafe for NameTableIndex
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.