Struct dwarf::Die
[−]
[src]
pub struct Die<'a> {
pub offset: usize,
pub code: u64,
pub tag: DwTag,
pub children: bool,
pub attributes: Vec<Attribute<'a>>,
}Fields
offset: usize
code: u64
tag: DwTag
children: bool
attributes: Vec<Attribute<'a>>
Methods
impl<'a, 'b> Die<'a>[src]
fn read<E: Endian>(r: &mut &'a [u8], offset: usize, unit: &UnitCommon<'b, E>, abbrev_hash: &AbbrevHash) -> Result<Die<'a>, ReadError>
impl<'a, 'b> Die<'a>[src]
fn write_null<E: Endian>(unit: &mut UnitCommon<'b, E>) -> Result<()>
fn write<E: Endian>(&self, unit: &mut UnitCommon<'b, E>, abbrev_hash: &AbbrevHash) -> Result<(), WriteError>
impl<'a> Die<'a>[src]
impl<'a> Die<'a>[src]
Trait Implementations
impl<'a> Eq for Die<'a>[src]
impl<'a> PartialEq for Die<'a>[src]
fn eq(&self, __arg_0: &Die<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Die<'a>) -> bool
This method tests for !=.