Struct dwarf::DieCursor [] [src]

pub struct DieCursor<'a, 'entry, 'unit: 'a, E: 'a + Endian> {
    // some fields omitted
}

Methods

impl<'a, 'entry, 'unit, E: Endian> DieCursor<'a, 'entry, 'unit, E>
[src]

fn new(r: &'entry [u8], offset: usize, unit: &'a UnitCommon<'unit, E>, abbrev: &'a AbbrevHash) -> Self

fn offset(&self) -> usize

fn next(&mut self) -> Result<Option<Die<'entry>>, ReadError>

fn next_sibling(&mut self) -> Result<Option<Die<'entry>>, ReadError>

impl<'a, 'entry, 'unit, E: Endian> DieCursor<'a, 'entry, 'unit, E>
[src]

fn display<F: Formatter>(&mut self, f: &mut F) -> Result<()ReadError>

fn display_depth<F: Formatter>(&mut self, f: &mut F, max_depth: usize) -> Result<()ReadError>

Trait Implementations

impl<'a, 'entry, 'unit: 'a, E: Debug + 'a + Endian> Debug for DieCursor<'a, 'entry, 'unit, E>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.