Struct gimli::read::DebugTuIndex
source · pub struct DebugTuIndex<R> {
section: R,
}
Expand description
The data in the .debug_tu_index
section of a .dwp
file.
This section contains the type unit index.
Fields§
§section: R
Implementations§
source§impl<'input, Endian> DebugTuIndex<EndianSlice<'input, Endian>>where
Endian: Endianity,
impl<'input, Endian> DebugTuIndex<EndianSlice<'input, Endian>>where
Endian: Endianity,
source§impl<T> DebugTuIndex<T>
impl<T> DebugTuIndex<T>
sourcepub(crate) fn borrow<'a, F, R>(&'a self, borrow: F) -> DebugTuIndex<R>
pub(crate) fn borrow<'a, F, R>(&'a self, borrow: F) -> DebugTuIndex<R>
Create a DebugTuIndex
section that references the data in self
.
This is useful when R
implements Reader
but T
does not.
Used by DwarfPackageSections::borrow
.
Trait Implementations§
source§impl<R: Clone> Clone for DebugTuIndex<R>
impl<R: Clone> Clone for DebugTuIndex<R>
source§fn clone(&self) -> DebugTuIndex<R>
fn clone(&self) -> DebugTuIndex<R>
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<R: Debug> Debug for DebugTuIndex<R>
impl<R: Debug> Debug for DebugTuIndex<R>
source§impl<R: Default> Default for DebugTuIndex<R>
impl<R: Default> Default for DebugTuIndex<R>
source§fn default() -> DebugTuIndex<R>
fn default() -> DebugTuIndex<R>
Returns the “default value” for a type. Read more
source§impl<R> From<R> for DebugTuIndex<R>
impl<R> From<R> for DebugTuIndex<R>
source§impl<R> Section<R> for DebugTuIndex<R>
impl<R> Section<R> for DebugTuIndex<R>
source§fn section_name() -> &'static str
fn section_name() -> &'static str
Returns the ELF section name for this type.
source§fn dwo_section_name() -> Option<&'static str>
fn dwo_section_name() -> Option<&'static str>
Returns the ELF section name (if any) for this type when used in a dwo
file.
source§fn xcoff_section_name() -> Option<&'static str>
fn xcoff_section_name() -> Option<&'static str>
Returns the XCOFF section name (if any) for this type when used in a XCOFF
file.
impl<R: Copy> Copy for DebugTuIndex<R>
Auto Trait Implementations§
impl<R> Freeze for DebugTuIndex<R>where
R: Freeze,
impl<R> RefUnwindSafe for DebugTuIndex<R>where
R: RefUnwindSafe,
impl<R> Send for DebugTuIndex<R>where
R: Send,
impl<R> Sync for DebugTuIndex<R>where
R: Sync,
impl<R> Unpin for DebugTuIndex<R>where
R: Unpin,
impl<R> UnwindSafe for DebugTuIndex<R>where
R: 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
)