Struct gimli::DebugStrOffsetsBase
source · pub struct DebugStrOffsetsBase<T = usize>(pub T);
Expand description
An offset to a set of entries in the .debug_str_offsets
section.
Tuple Fields§
§0: T
Implementations§
source§impl<Offset> DebugStrOffsetsBase<Offset>where
Offset: ReaderOffset,
impl<Offset> DebugStrOffsetsBase<Offset>where
Offset: ReaderOffset,
sourcepub fn default_for_encoding_and_file(
encoding: Encoding,
file_type: DwarfFileType,
) -> DebugStrOffsetsBase<Offset>
pub fn default_for_encoding_and_file( encoding: Encoding, file_type: DwarfFileType, ) -> DebugStrOffsetsBase<Offset>
Returns a DebugStrOffsetsBase
with the default value of DW_AT_str_offsets_base
for the given Encoding
and DwarfFileType
.
Trait Implementations§
source§impl<T: Clone> Clone for DebugStrOffsetsBase<T>
impl<T: Clone> Clone for DebugStrOffsetsBase<T>
source§fn clone(&self) -> DebugStrOffsetsBase<T>
fn clone(&self) -> DebugStrOffsetsBase<T>
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<T: Debug> Debug for DebugStrOffsetsBase<T>
impl<T: Debug> Debug for DebugStrOffsetsBase<T>
source§impl<T: PartialEq> PartialEq for DebugStrOffsetsBase<T>
impl<T: PartialEq> PartialEq for DebugStrOffsetsBase<T>
impl<T: Copy> Copy for DebugStrOffsetsBase<T>
impl<T: Eq> Eq for DebugStrOffsetsBase<T>
impl<T> StructuralPartialEq for DebugStrOffsetsBase<T>
Auto Trait Implementations§
impl<T> Freeze for DebugStrOffsetsBase<T>where
T: Freeze,
impl<T> RefUnwindSafe for DebugStrOffsetsBase<T>where
T: RefUnwindSafe,
impl<T> Send for DebugStrOffsetsBase<T>where
T: Send,
impl<T> Sync for DebugStrOffsetsBase<T>where
T: Sync,
impl<T> Unpin for DebugStrOffsetsBase<T>where
T: Unpin,
impl<T> UnwindSafe for DebugStrOffsetsBase<T>where
T: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.