Struct dwarf::Attribute
[−]
[src]
pub struct Attribute<'a> { pub at: DwAt, pub data: AttributeData<'a>, }
Fields
at: DwAt
data: AttributeData<'a>
Methods
impl<'a, 'b> Attribute<'a>
[src]
fn read(
r: &mut &'a [u8],
unit: &CompilationUnit<'b>,
abbrev: &AbbrevAttribute
) -> Result<Attribute<'a>, ReadError>
r: &mut &'a [u8],
unit: &CompilationUnit<'b>,
abbrev: &AbbrevAttribute
) -> Result<Attribute<'a>, ReadError>
impl<'a, 'b> Attribute<'a>
[src]
fn write(
&self,
unit: &mut CompilationUnit<'b>,
abbrev: &AbbrevAttribute
) -> Result<(), WriteError>
&self,
unit: &mut CompilationUnit<'b>,
abbrev: &AbbrevAttribute
) -> Result<(), WriteError>
Trait Implementations
impl<'a> Display for Attribute<'a>
[src]
impl<'a> Debug for Attribute<'a>
[src]
impl<'a> PartialEq for Attribute<'a>
[src]
fn eq(&self, __arg_0: &Attribute<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Attribute<'a>) -> bool
This method tests for !=
.