#[repr(transparent)]pub struct Attribute<'dw> { /* private fields */ }
Implementations
sourceimpl<'dw> Attribute<'dw>
impl<'dw> Attribute<'dw>
pub fn name(&self) -> u32
pub fn form(&self) -> u32
pub fn has_form(&self, form: u32) -> bool
pub fn get_string(&self) -> Result<&'dw CStr>
pub fn get_unsigned(&self) -> Result<u64>
pub fn get_signed(&self) -> Result<i64>
pub fn get_address(&self) -> Result<u64>
pub fn get_die(&self) -> Result<Die<'dw>>
pub fn get_bytes(&self) -> Result<&'dw [u8]>
pub fn get_bool(&self) -> Result<bool>
pub fn get_value(&self) -> Result<AttributeValue<'dw>>
pub fn as_ptr(&self) -> *mut Dwarf_Attribute
Trait Implementations
Auto Trait Implementations
impl<'dw> !RefUnwindSafe for Attribute<'dw>
impl<'dw> !Send for Attribute<'dw>
impl<'dw> !Sync for Attribute<'dw>
impl<'dw> Unpin for Attribute<'dw>
impl<'dw> !UnwindSafe for Attribute<'dw>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more