Struct gimli::DebugTypesOffset [−][src]
pub struct DebugTypesOffset<T = usize>(pub T);
Expand description
An offset into the .debug_types
section.
Tuple Fields
0: T
Implementations
pub fn to_unit_offset<R>(&self, unit: &UnitHeader<R>) -> Option<UnitOffset<T>> where
R: Reader<Offset = T>,
pub fn to_unit_offset<R>(&self, unit: &UnitHeader<R>) -> 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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for DebugTypesOffset<T> where
T: RefUnwindSafe,
impl<T> Send for DebugTypesOffset<T> where
T: Send,
impl<T> Sync for DebugTypesOffset<T> where
T: Sync,
impl<T> Unpin for DebugTypesOffset<T> where
T: Unpin,
impl<T> UnwindSafe for DebugTypesOffset<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more