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
sourceimpl<T: Clone> Clone for RawRangeListsOffset<T>
impl<T: Clone> Clone for RawRangeListsOffset<T>
sourcefn clone(&self) -> RawRangeListsOffset<T>
fn clone(&self) -> RawRangeListsOffset<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug> Debug for RawRangeListsOffset<T>
impl<T: Debug> Debug for RawRangeListsOffset<T>
sourceimpl<T: Hash> Hash for RawRangeListsOffset<T>
impl<T: Hash> Hash for RawRangeListsOffset<T>
sourceimpl<T: PartialEq> PartialEq<RawRangeListsOffset<T>> for RawRangeListsOffset<T>
impl<T: PartialEq> PartialEq<RawRangeListsOffset<T>> for RawRangeListsOffset<T>
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &RawRangeListsOffset<T>) -> bool
fn ne(&self, other: &RawRangeListsOffset<T>) -> bool
This method tests for !=
.
impl<T: Copy> Copy for RawRangeListsOffset<T>
impl<T: Eq> Eq for RawRangeListsOffset<T>
impl<T> StructuralEq for RawRangeListsOffset<T>
impl<T> StructuralPartialEq for RawRangeListsOffset<T>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more