#[repr(transparent)]pub struct Die<'dw> { /* private fields */ }
Implementations
sourceimpl<'dw> Die<'dw>
impl<'dw> Die<'dw>
pub fn from_offset(dwarf: &'dw Dwarf<'_>, offset: u64) -> Result<Die<'dw>>
pub fn from_type_offset(dwarf: &'dw Dwarf<'_>, offset: u64) -> Result<Die<'dw>>
pub fn from_address(dwarf: &'dw Dwarf<'_>, address: u64) -> Result<Die<'dw>>
pub fn tag(&self) -> Result<u32>
pub fn name(&self) -> Result<&'dw CStr>
pub fn decl_file(&self) -> Result<&'dw CStr>
pub fn decl_line(&self) -> Result<u32>
pub fn decl_column(&self) -> Result<u32>
pub fn high_pc(&self) -> Result<u64>
pub fn low_pc(&self) -> Result<u64>
pub fn entry_pc(&self) -> Result<u64>
pub fn has_pc(&self, pc: u64) -> Result<bool>
pub fn ranges(&self) -> DieRanges<'dw>
pub fn byte_size(&self) -> Result<u32>
pub fn bit_size(&self) -> Result<u32>
pub fn bit_offset(&self) -> Result<u32>
pub fn array_order(&self) -> Result<u32>
pub fn source_language(&self) -> Result<u32>
pub fn unit(&self) -> Result<Die<'dw>>
pub fn offset(&self) -> Dwarf_Off
pub fn unit_offset(&self) -> Dwarf_Off
pub fn child(&self) -> Result<Option<Die<'dw>>>
pub fn siblingof(&self) -> Result<Option<Die<'dw>>>
pub fn has_children(&self) -> Result<bool>
pub fn iter_children(&self) -> DieChildren<'dw>ⓘNotable traits for DieChildren<'dw>impl<'dw> Iterator for DieChildren<'dw> type Item = Result<Die<'dw>>;
pub fn for_each_child<F>(&self, f: F) -> Result<()> where
F: FnMut(&Die<'dw>) -> Result<bool>,
pub fn has_attr(&self, name: u32) -> Result<bool>
pub fn has_attr_integrate(&self, name: u32) -> Result<bool>
pub fn attr(&self, name: u32) -> Result<Attribute<'dw>>
pub fn attr_integrate(&self, name: u32) -> Result<Attribute<'dw>>
pub fn attr_count(&self) -> Result<usize>
pub fn attrs(&self) -> Result<Vec<Attribute<'dw>>>
pub fn for_each_attr<F>(&self, f: F) -> Result<()> where
F: FnMut(&Attribute<'dw>) -> Result<bool>,
pub unsafe fn for_each_attr_unchecked<F>(&self, f: F) -> Result<()> where
F: FnMut(&Attribute<'dw>) -> Result<bool>,
pub fn for_each_func<F>(&self, f: F) -> Result<()> where
F: FnMut(&Die<'dw>) -> Result<bool>,
pub unsafe fn for_each_func_unchecked<F>(&self, f: F) -> Result<()> where
F: FnMut(&Die<'dw>) -> Result<bool>,
pub fn as_ptr(&self) -> *mut Dwarf_Die
Trait Implementations
Auto Trait Implementations
impl<'dw> !RefUnwindSafe for Die<'dw>
impl<'dw> !Send for Die<'dw>
impl<'dw> !Sync for Die<'dw>
impl<'dw> Unpin for Die<'dw>
impl<'dw> !UnwindSafe for Die<'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