Enum gimli::read::UnitType [−][src]
This enum specifies the type of the unit and any type specific data carried in the header (e.g. the type signature/type offset of a type unit).
Variants
In DWARF5, a unit with type DW_UT_compile. In previous DWARF versions,
any unit appearing in the .debug_info section.
In DWARF5, a unit with type DW_UT_type. In DWARF4, any unit appearing
in the .debug_types section.
Fields of Type
type_signature: DebugTypeSignatureThe unique type signature for this type unit.
type_offset: UnitOffset<Offset>The offset within this type unit where the type is defined.
A unit with type DW_UT_partial. The root DIE of this unit should be a
DW_TAG_partial_unit.
Skeleton(DwoId)A unit with type DW_UT_skeleton. The enclosed dwo_id can be used to
link this with the corresponding SplitCompilation unit in a dwo file.
NB: The non-standard GNU split DWARF extension to DWARF 4 will instead
be a Compilation unit with the dwo_id present as an attribute on the
root DIE.
SplitCompilation(DwoId)A unit with type DW_UT_split_compile. The enclosed dwo_id can be used to
link this with the corresponding Skeleton unit in the original binary.
NB: The non-standard GNU split DWARF extension to DWARF 4 will instead
be a Compilation unit with the dwo_id present as an attribute on the
root DIE.
A unit with type DW_UT_split_type. A split type unit is identical to a
conventional type unit except for the section in which it appears.
Fields of SplitType
type_signature: DebugTypeSignatureThe unique type signature for this type unit.
type_offset: UnitOffset<Offset>The offset within this type unit where the type is defined.
Trait Implementations
impl<Offset: Clone> Clone for UnitType<Offset> where
Offset: ReaderOffset, [src]
Offset: ReaderOffset,
impl<Offset: Copy> Copy for UnitType<Offset> where
Offset: ReaderOffset, [src]
Offset: ReaderOffset,
impl<Offset: Debug> Debug for UnitType<Offset> where
Offset: ReaderOffset, [src]
Offset: ReaderOffset,
impl<Offset: Eq> Eq for UnitType<Offset> where
Offset: ReaderOffset, [src]
Offset: ReaderOffset,
impl<Offset: PartialEq> PartialEq<UnitType<Offset>> for UnitType<Offset> where
Offset: ReaderOffset, [src]
Offset: ReaderOffset,
fn eq(&self, other: &UnitType<Offset>) -> bool[src]
fn ne(&self, other: &UnitType<Offset>) -> bool[src]
impl<Offset> StructuralEq for UnitType<Offset> where
Offset: ReaderOffset, [src]
Offset: ReaderOffset,
impl<Offset> StructuralPartialEq for UnitType<Offset> where
Offset: ReaderOffset, [src]
Offset: ReaderOffset,
Auto Trait Implementations
impl<Offset> RefUnwindSafe for UnitType<Offset> where
Offset: RefUnwindSafe,
Offset: RefUnwindSafe,
impl<Offset> Send for UnitType<Offset> where
Offset: Send,
Offset: Send,
impl<Offset> Sync for UnitType<Offset> where
Offset: Sync,
Offset: Sync,
impl<Offset> Unpin for UnitType<Offset> where
Offset: Unpin,
Offset: Unpin,
impl<Offset> UnwindSafe for UnitType<Offset> where
Offset: UnwindSafe,
Offset: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,