[][src]Struct libdw::Attribute

#[repr(transparent)]
pub struct Attribute<'dw> { /* fields omitted */ }

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_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]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]