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<DebugLocListsBase<T>> for DebugLocListsBase<T>
impl<T: PartialEq> PartialEq<DebugLocListsBase<T>> 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 ==
.