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