Enum gimli::read::op::DieReference
source · pub enum DieReference<T = usize> {
UnitRef(UnitOffset<T>),
DebugInfoRef(DebugInfoOffset<T>),
}
Expand description
A reference to a DIE, either relative to the current CU or relative to the section.
Variants§
UnitRef(UnitOffset<T>)
A CU-relative reference.
DebugInfoRef(DebugInfoOffset<T>)
A section-relative reference.
Trait Implementations§
source§impl<T: Clone> Clone for DieReference<T>
impl<T: Clone> Clone for DieReference<T>
source§fn clone(&self) -> DieReference<T>
fn clone(&self) -> DieReference<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 DieReference<T>
impl<T: Debug> Debug for DieReference<T>
source§impl<T: PartialEq> PartialEq for DieReference<T>
impl<T: PartialEq> PartialEq for DieReference<T>
impl<T: Copy> Copy for DieReference<T>
impl<T: Eq> Eq for DieReference<T>
impl<T> StructuralPartialEq for DieReference<T>
Auto Trait Implementations§
impl<T> Freeze for DieReference<T>where
T: Freeze,
impl<T> RefUnwindSafe for DieReference<T>where
T: RefUnwindSafe,
impl<T> Send for DieReference<T>where
T: Send,
impl<T> Sync for DieReference<T>where
T: Sync,
impl<T> Unpin for DieReference<T>where
T: Unpin,
impl<T> UnwindSafe for DieReference<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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)