Struct gimli::DebugLocListsBase
source · [−]pub struct DebugLocListsBase<T = usize>(pub T);
Expand description
An offset to a set of location list offsets in the .debug_loclists
section.
Tuple Fields
0: T
Implementations
sourceimpl<Offset> DebugLocListsBase<Offset> where
Offset: ReaderOffset,
impl<Offset> DebugLocListsBase<Offset> where
Offset: ReaderOffset,
sourcepub fn default_for_encoding_and_file(
encoding: Encoding,
file_type: DwarfFileType
) -> DebugLocListsBase<Offset>
pub fn default_for_encoding_and_file(
encoding: Encoding,
file_type: DwarfFileType
) -> DebugLocListsBase<Offset>
Returns a DebugLocListsBase
with the default value of DW_AT_loclists_base
for the given Encoding
and DwarfFileType
.
Trait Implementations
sourceimpl<T: Clone> Clone for DebugLocListsBase<T>
impl<T: Clone> Clone for DebugLocListsBase<T>
sourcefn clone(&self) -> DebugLocListsBase<T>
fn clone(&self) -> DebugLocListsBase<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 DebugLocListsBase<T>
impl<T: Debug> Debug for DebugLocListsBase<T>
sourceimpl<T: PartialEq> PartialEq<DebugLocListsBase<T>> for DebugLocListsBase<T>
impl<T: PartialEq> PartialEq<DebugLocListsBase<T>> for DebugLocListsBase<T>
sourcefn eq(&self, other: &DebugLocListsBase<T>) -> bool
fn eq(&self, other: &DebugLocListsBase<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DebugLocListsBase<T>) -> bool
fn ne(&self, other: &DebugLocListsBase<T>) -> bool
This method tests for !=
.
impl<T: Copy> Copy for DebugLocListsBase<T>
impl<T: Eq> Eq for DebugLocListsBase<T>
impl<T> StructuralEq for DebugLocListsBase<T>
impl<T> StructuralPartialEq for DebugLocListsBase<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for DebugLocListsBase<T> where
T: RefUnwindSafe,
impl<T> Send for DebugLocListsBase<T> where
T: Send,
impl<T> Sync for DebugLocListsBase<T> where
T: Sync,
impl<T> Unpin for DebugLocListsBase<T> where
T: Unpin,
impl<T> UnwindSafe for DebugLocListsBase<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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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