Struct libdw::Die
[−]
[src]
pub struct Die<'dw> { /* fields omitted */ }
Methods
impl<'dw> Die<'dw>
[src]
fn from_offset(dwarf: &'dw Dwarf, offset: u64) -> Result<Die<'dw>>
fn from_type_offset(dwarf: &'dw Dwarf, offset: u64) -> Result<Die<'dw>>
fn from_address(dwarf: &'dw Dwarf, address: u64) -> Result<Die<'dw>>
fn tag(&self) -> Result<u32>
fn name(&self) -> Result<&'dw CStr>
fn decl_file(&self) -> Result<&'dw CStr>
fn decl_line(&self) -> Result<u32>
fn decl_column(&self) -> Result<u32>
fn high_pc(&self) -> Result<u64>
fn low_pc(&self) -> Result<u64>
fn entry_pc(&self) -> Result<u64>
fn has_pc(&self, pc: u64) -> Result<bool>
fn ranges(&self) -> DieRanges<'dw>
fn byte_size(&self) -> Result<u32>
fn bit_size(&self) -> Result<u32>
fn bit_offset(&self) -> Result<u32>
fn array_order(&self) -> Result<u32>
fn source_language(&self) -> Result<u32>
fn unit(&self) -> Result<Die<'dw>>
fn offset(&self) -> Dwarf_Off
fn unit_offset(&self) -> Dwarf_Off
fn child(&self) -> Result<Option<Die<'dw>>>
fn siblingof(&self) -> Result<Option<Die<'dw>>>
fn has_children(&self) -> Result<bool>
fn iter_children(&self) -> DieChildren<'dw>
fn for_each_child<F>(&self, f: F) -> Result<()> where
F: FnMut(&Die<'dw>) -> Result<bool>,
F: FnMut(&Die<'dw>) -> Result<bool>,
fn has_attr(&self, name: u32) -> Result<bool>
fn has_attr_integrate(&self, name: u32) -> Result<bool>
fn attr(&self, name: u32) -> Result<Attribute<'dw>>
fn attr_integrate(&self, name: u32) -> Result<Attribute<'dw>>
fn attr_count(&self) -> Result<usize>
fn attrs(&self) -> Result<Vec<Attribute<'dw>>>
fn for_each_attr<F>(&self, f: F) -> Result<()> where
F: FnMut(&Attribute<'dw>) -> Result<bool>,
F: FnMut(&Attribute<'dw>) -> Result<bool>,
unsafe fn for_each_attr_unchecked<F>(&self, f: F) -> Result<()> where
F: FnMut(&Attribute<'dw>) -> Result<bool>,
F: FnMut(&Attribute<'dw>) -> Result<bool>,
fn for_each_func<F>(&self, f: F) -> Result<()> where
F: FnMut(&Die<'dw>) -> Result<bool>,
F: FnMut(&Die<'dw>) -> Result<bool>,
unsafe fn for_each_func_unchecked<F>(&self, f: F) -> Result<()> where
F: FnMut(&Die<'dw>) -> Result<bool>,
F: FnMut(&Die<'dw>) -> Result<bool>,
fn as_ptr(&self) -> *mut Dwarf_Die
Trait Implementations
impl<'dw> Default for Die<'dw>
[src]
impl<'dw> Debug for Die<'dw>
[src]
impl<'dw> Clone for Die<'dw>
[src]
fn clone(&self) -> Self
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