[−][src]Struct libdw::Attribute
Methods
impl<'dw> Attribute<'dw>
[src]
pub fn name(&self) -> u32
[src]
pub fn form(&self) -> u32
[src]
pub fn has_form(&self, form: u32) -> bool
[src]
pub fn get_string(&self) -> Result<&'dw CStr>
[src]
pub fn get_unsigned(&self) -> Result<u64>
[src]
pub fn get_signed(&self) -> Result<i64>
[src]
pub fn get_address(&self) -> Result<u64>
[src]
pub fn get_die(&self) -> Result<Die<'dw>>
[src]
pub fn get_bytes(&self) -> Result<&'dw [u8]>
[src]
pub fn get_bool(&self) -> Result<bool>
[src]
pub fn get_value(&self) -> Result<AttributeValue<'dw>>
[src]
pub fn as_ptr(&self) -> *mut Dwarf_Attribute
[src]
Trait Implementations
impl<'dw> Default for Attribute<'dw>
[src]
impl<'dw> Clone for Attribute<'dw>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'dw> Debug for Attribute<'dw>
[src]
Auto Trait Implementations
impl<'dw> !Send for Attribute<'dw>
impl<'dw> Unpin for Attribute<'dw>
impl<'dw> !Sync for Attribute<'dw>
impl<'dw> !UnwindSafe for Attribute<'dw>
impl<'dw> !RefUnwindSafe for Attribute<'dw>
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,