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(
r: &mut &'a [u8],
offset: usize,
unit: &CompilationUnit<'b>,
abbrev_hash: &AbbrevHash
) -> Result<Die<'a>, ReadError>
r: &mut &'a [u8],
offset: usize,
unit: &CompilationUnit<'b>,
abbrev_hash: &AbbrevHash
) -> Result<Die<'a>, ReadError>
impl<'a, 'b> Die<'a>
[src]
fn write_null(unit: &mut CompilationUnit<'b>) -> Result<()>
fn write(
&self,
unit: &mut CompilationUnit<'b>,
abbrev_hash: &AbbrevHash
) -> Result<(), WriteError>
&self,
unit: &mut CompilationUnit<'b>,
abbrev_hash: &AbbrevHash
) -> Result<(), WriteError>
impl<'a> Die<'a>
[src]
impl<'a> Die<'a>
[src]
Trait Implementations
impl<'a> Debug 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 !=
.