Struct dwarf::CompilationUnit
[−]
[src]
pub struct CompilationUnit<'a, E: Endian> { pub offset: usize, pub common: UnitCommon<'a, E>, }
Fields
offset: usize
common: UnitCommon<'a, E>
Methods
impl<'a, E: Endian> CompilationUnit<'a, E>
[src]
fn read(r: &mut &'a [u8], offset: usize, endian: E) -> Result<CompilationUnit<'a, E>, ReadError>
fn abbrev(&self, debug_abbrev: &[u8]) -> Result<AbbrevHash, ReadError>
fn entries<'cursor>(&'a self, abbrev: &'cursor AbbrevHash) -> DieCursor<'cursor, 'a, 'a, E>
fn entry<'cursor>(&'a self, offset: usize, abbrev: &'cursor AbbrevHash) -> Option<DieCursor<'cursor, 'a, 'a, E>>
impl<'a, E: Endian> CompilationUnit<'a, E>
[src]
fn write<W: Write>(&self, w: &mut W) -> Result<(), WriteError>
impl<'a, E: Endian> CompilationUnit<'a, E>
[src]
Trait Implementations
impl<'a, E: Eq + Endian> Eq for CompilationUnit<'a, E>
[src]
impl<'a, E: PartialEq + Endian> PartialEq for CompilationUnit<'a, E>
[src]
fn eq(&self, __arg_0: &CompilationUnit<'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: &CompilationUnit<'a, E>) -> bool
This method tests for !=
.