Struct gimli::DebugLineOffset
source · [−]pub struct DebugLineOffset<T = usize>(pub T);
Expand description
An offset into the .debug_line
section.
Tuple Fields
0: T
Trait Implementations
sourceimpl<T: Clone> Clone for DebugLineOffset<T>
impl<T: Clone> Clone for DebugLineOffset<T>
sourcefn clone(&self) -> DebugLineOffset<T>
fn clone(&self) -> DebugLineOffset<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 DebugLineOffset<T>
impl<T: Debug> Debug for DebugLineOffset<T>
sourceimpl<T: PartialEq> PartialEq<DebugLineOffset<T>> for DebugLineOffset<T>
impl<T: PartialEq> PartialEq<DebugLineOffset<T>> for DebugLineOffset<T>
sourcefn eq(&self, other: &DebugLineOffset<T>) -> bool
fn eq(&self, other: &DebugLineOffset<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DebugLineOffset<T>) -> bool
fn ne(&self, other: &DebugLineOffset<T>) -> bool
This method tests for !=
.
impl<T: Copy> Copy for DebugLineOffset<T>
impl<T: Eq> Eq for DebugLineOffset<T>
impl<T> StructuralEq for DebugLineOffset<T>
impl<T> StructuralPartialEq for DebugLineOffset<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for DebugLineOffset<T> where
T: RefUnwindSafe,
impl<T> Send for DebugLineOffset<T> where
T: Send,
impl<T> Sync for DebugLineOffset<T> where
T: Sync,
impl<T> Unpin for DebugLineOffset<T> where
T: Unpin,
impl<T> UnwindSafe for DebugLineOffset<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.