Struct dwarf::UnitCommon
[−]
[src]
pub struct UnitCommon<'a, E: Endian> { pub endian: E, pub version: u16, pub address_size: u8, pub offset_size: u8, pub abbrev_offset: u64, pub data: Cow<'a, [u8]>, }
Fields
endian: E
version: u16
address_size: u8
offset_size: u8
abbrev_offset: u64
data: Cow<'a, [u8]>
Methods
impl<'a, E: Endian> UnitCommon<'a, E>
[src]
impl<'a, E: Endian> UnitCommon<'a, E>
[src]
fn abbrev(&self, debug_abbrev: &[u8]) -> Result<AbbrevHash, ReadError>
fn entries<'cursor>(&'a self, data_offset: usize, abbrev: &'cursor AbbrevHash) -> DieCursor<'cursor, 'a, 'a, E>
fn entry<'cursor>(&'a self, data_offset: usize, offset: usize, abbrev: &'cursor AbbrevHash) -> Option<DieCursor<'cursor, 'a, 'a, E>>
impl<'a, E: Endian> UnitCommon<'a, E>
[src]
impl<'a, E: Endian> UnitCommon<'a, E>
[src]
Trait Implementations
impl<'a, E: Eq + Endian> Eq for UnitCommon<'a, E>
[src]
impl<'a, E: PartialEq + Endian> PartialEq for UnitCommon<'a, E>
[src]
fn eq(&self, __arg_0: &UnitCommon<'a, E>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UnitCommon<'a, E>) -> bool
This method tests for !=
.