pub struct DieAttr { /* private fields */ }Implementations§
Source§impl DieAttr
impl DieAttr
pub fn new(cu: &Rc<CompileUnit>, type_: u64, form: u64, location: Bytes) -> Self
pub fn name(&self) -> u64
pub fn form(&self) -> u64
pub fn as_address(&self) -> Result<FileAddress, SdbError>
pub fn as_section_offset(&self) -> Result<u32, SdbError>
pub fn as_block(&self) -> Result<Bytes, SdbError>
pub fn as_int(&self) -> Result<u64, SdbError>
pub fn as_string(&self) -> Result<String, SdbError>
pub fn as_reference(&self) -> Rc<Die>
pub fn as_range_list(&self) -> Result<CompileUnitRangeList, SdbError>
pub fn as_expression(&self, in_frame_info: bool) -> DwarfExpression
pub fn as_location_list(&self, in_frame_info: bool) -> LocationList
pub fn as_evaluated_location( &self, proc: &Process, regs: &Registers, in_frame_info: bool, ) -> Result<DwarfExpressionResult, SdbError>
pub fn as_type(&self) -> SdbType
Auto Trait Implementations§
impl !Freeze for DieAttr
impl !RefUnwindSafe for DieAttr
impl !Send for DieAttr
impl !Sync for DieAttr
impl Unpin for DieAttr
impl !UnwindSafe for DieAttr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more