pub struct CompileUnit { /* private fields */ }Implementations§
Source§impl CompileUnit
impl CompileUnit
pub fn root(self: &Rc<Self>) -> Rc<Die>
pub fn new( parent: &Rc<Dwarf>, data: Bytes, abbrev_offset: usize, ) -> Result<Rc<Self>, SdbError>
pub fn dwarf_info(&self) -> Rc<Dwarf>
pub fn data(&self) -> &[u8] ⓘ
pub fn abbrev_table(&self) -> Rc<HashMap<u64, Rc<Abbrev>>>
pub fn lines(&self) -> Rc<LineTable>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CompileUnit
impl !RefUnwindSafe for CompileUnit
impl !Send for CompileUnit
impl !Sync for CompileUnit
impl Unpin for CompileUnit
impl !UnwindSafe for CompileUnit
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