Struct gimli::DebugTypesOffset
[−]
[src]
pub struct DebugTypesOffset<T = usize>(pub T);
An offset into the .debug_types
section.
Methods
impl<T: ReaderOffset> DebugTypesOffset<T>
[src]
fn to_unit_offset<R>(
&self,
unit: &TypeUnitHeader<R, R::Offset>
) -> Option<UnitOffset<T>> where
R: Reader<Offset = T>,
&self,
unit: &TypeUnitHeader<R, R::Offset>
) -> Option<UnitOffset<T>> where
R: Reader<Offset = T>,
Convert an offset to be relative to the start of the given unit,
instead of relative to the start of the .debug_types section.
Returns None
if the offset is not within the unit entries.
Trait Implementations
impl<T: Debug> Debug for DebugTypesOffset<T>
[src]
impl<T: Clone> Clone for DebugTypesOffset<T>
[src]
fn clone(&self) -> DebugTypesOffset<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: Copy> Copy for DebugTypesOffset<T>
[src]
impl<T: PartialEq> PartialEq for DebugTypesOffset<T>
[src]
fn eq(&self, __arg_0: &DebugTypesOffset<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DebugTypesOffset<T>) -> bool
This method tests for !=
.