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<E: Endian>(r: &mut &'a [u8], unit: &UnitCommon<'b, E>, abbrev: &AbbrevAttribute) -> Result<Attribute<'a>, ReadError>
impl<'a, 'b> Attribute<'a>
[src]
fn write<E: Endian>(&self, unit: &mut UnitCommon<'b, E>, abbrev: &AbbrevAttribute) -> Result<(), WriteError>
Trait Implementations
impl<'a> Display for Attribute<'a>
[src]
impl<'a> Eq 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 !=
.