Struct gimli::Attribute
[−]
[src]
pub struct Attribute<'input, Endian> where Endian: Endianity {
// some fields omitted
}
An attribute in a DebuggingInformationEntry
, consisting of a name and
associated value.
Methods
impl<'input, Endian> Attribute<'input, Endian> where Endian: Endianity
[src]
fn name(&self) -> DwAt
Get this attribute's name.
fn raw_value(&self) -> AttributeValue<'input, Endian>
Get this attribute's raw value.
fn value(&self) -> AttributeValue<'input, Endian>
Get this attribute's normalized value.
Attribute values can potentially be encoded in multiple equivalent forms, and may have special meaning depending on the attribute name. This method converts the attribute value to a normalized form based on the attribute name.
Trait Implementations
impl<'input, Endian: PartialEq> PartialEq for Attribute<'input, Endian> where Endian: Endianity
[src]
fn eq(&self, __arg_0: &Attribute<'input, Endian>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Attribute<'input, Endian>) -> bool
This method tests for !=
.
impl<'input, Endian: Eq> Eq for Attribute<'input, Endian> where Endian: Endianity
[src]
impl<'input, Endian: Debug> Debug for Attribute<'input, Endian> where Endian: Endianity
[src]
impl<'input, Endian: Clone> Clone for Attribute<'input, Endian> where Endian: Endianity
[src]
fn clone(&self) -> Attribute<'input, Endian>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more