Struct gimli::DebugLocListsBase
source · pub struct DebugLocListsBase<T = usize>(pub T);
Expand description
An offset to a set of location list offsets in the .debug_loclists
section.
Tuple Fields§
§0: T
Implementations§
source§impl<Offset> DebugLocListsBase<Offset>where
Offset: ReaderOffset,
impl<Offset> DebugLocListsBase<Offset>where
Offset: ReaderOffset,
sourcepub fn default_for_encoding_and_file(
encoding: Encoding,
file_type: DwarfFileType,
) -> DebugLocListsBase<Offset>
pub fn default_for_encoding_and_file( encoding: Encoding, file_type: DwarfFileType, ) -> DebugLocListsBase<Offset>
Returns a DebugLocListsBase
with the default value of DW_AT_loclists_base
for the given Encoding
and DwarfFileType
.
Trait Implementations§
source§impl<T: Clone> Clone for DebugLocListsBase<T>
impl<T: Clone> Clone for DebugLocListsBase<T>
source§fn clone(&self) -> DebugLocListsBase<T>
fn clone(&self) -> DebugLocListsBase<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 DebugLocListsBase<T>
impl<T: Debug> Debug for DebugLocListsBase<T>
source§impl<T: PartialEq> PartialEq for DebugLocListsBase<T>
impl<T: PartialEq> PartialEq for DebugLocListsBase<T>
source§fn eq(&self, other: &DebugLocListsBase<T>) -> bool
fn eq(&self, other: &DebugLocListsBase<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Copy> Copy for DebugLocListsBase<T>
impl<T: Eq> Eq for DebugLocListsBase<T>
impl<T> StructuralPartialEq for DebugLocListsBase<T>
Auto Trait Implementations§
impl<T> Freeze for DebugLocListsBase<T>where
T: Freeze,
impl<T> RefUnwindSafe for DebugLocListsBase<T>where
T: RefUnwindSafe,
impl<T> Send for DebugLocListsBase<T>where
T: Send,
impl<T> Sync for DebugLocListsBase<T>where
T: Sync,
impl<T> Unpin for DebugLocListsBase<T>where
T: Unpin,
impl<T> UnwindSafe for DebugLocListsBase<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