pub struct Die { /* private fields */ }Implementations§
Source§impl Die
impl Die
pub fn parameter_types(self: &Rc<Self>) -> Result<Vec<SdbType>, SdbError>
pub fn children(self: &Rc<Self>) -> DieChildenIter ⓘ
pub fn get_bitfield_information( &self, class_byte_size: u64, ) -> Result<Option<BitfieldInformation>, SdbError>
pub fn new( pos: Bytes, cu: &Rc<CompileUnit>, abbrev: Rc<Abbrev>, attr_locs: Vec<Bytes>, next: Bytes, ) -> Rc<Self>
pub fn null(next: Bytes) -> Rc<Self>
pub fn cu(&self) -> Rc<CompileUnit>
pub fn abbrev_entry(&self) -> Rc<Abbrev>
pub fn position(&self) -> Bytes
pub fn next(&self) -> Bytes
pub fn contains(&self, attribute: u64) -> bool
pub fn index(&self, attribute: u64) -> Result<DieAttr, SdbError>
pub fn low_pc(&self) -> Result<FileAddress, SdbError>
pub fn high_pc(&self) -> Result<FileAddress, SdbError>
pub fn contains_address(&self, addr: &FileAddress) -> Result<bool, SdbError>
pub fn name(&self) -> Result<Option<String>, SdbError>
pub fn location(&self) -> Result<SourceLocation, SdbError>
pub fn file(&self) -> Result<Rc<LineTableFile>, SdbError>
pub fn line(&self) -> Result<u64, SdbError>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Die
impl !RefUnwindSafe for Die
impl !Send for Die
impl !Sync for Die
impl Unpin for Die
impl !UnwindSafe for Die
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