Struct gimli::RawRangeListsOffset
source · pub struct RawRangeListsOffset<T = usize>(pub T);
Expand description
An offset into either the .debug_ranges
section or the .debug_rnglists
section,
depending on the version of the unit the offset was contained in.
If this is from a DWARF 4 DWO file, then it must additionally be offset by the
value of DW_AT_GNU_ranges_base
. You can use Dwarf::ranges_offset_from_raw
to do this.
Tuple Fields§
§0: T
Trait Implementations§
source§impl<T: Clone> Clone for RawRangeListsOffset<T>
impl<T: Clone> Clone for RawRangeListsOffset<T>
source§fn clone(&self) -> RawRangeListsOffset<T>
fn clone(&self) -> RawRangeListsOffset<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 RawRangeListsOffset<T>
impl<T: Debug> Debug for RawRangeListsOffset<T>
source§impl<T: Hash> Hash for RawRangeListsOffset<T>
impl<T: Hash> Hash for RawRangeListsOffset<T>
source§impl<T: PartialEq> PartialEq for RawRangeListsOffset<T>
impl<T: PartialEq> PartialEq for RawRangeListsOffset<T>
source§fn eq(&self, other: &RawRangeListsOffset<T>) -> bool
fn eq(&self, other: &RawRangeListsOffset<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Copy> Copy for RawRangeListsOffset<T>
impl<T: Eq> Eq for RawRangeListsOffset<T>
impl<T> StructuralPartialEq for RawRangeListsOffset<T>
Auto Trait Implementations§
impl<T> Freeze for RawRangeListsOffset<T>where
T: Freeze,
impl<T> RefUnwindSafe for RawRangeListsOffset<T>where
T: RefUnwindSafe,
impl<T> Send for RawRangeListsOffset<T>where
T: Send,
impl<T> Sync for RawRangeListsOffset<T>where
T: Sync,
impl<T> Unpin for RawRangeListsOffset<T>where
T: Unpin,
impl<T> UnwindSafe for RawRangeListsOffset<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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)