Struct gimli::read::EntriesTreeNode
source · pub struct EntriesTreeNode<'abbrev, 'unit, 'tree, R: Reader> {
tree: &'tree mut EntriesTree<'abbrev, 'unit, R>,
depth: isize,
}
Expand description
A node in the Debugging Information Entry tree.
The root node of a tree can be obtained
via EntriesTree::root
.
Fields§
§tree: &'tree mut EntriesTree<'abbrev, 'unit, R>
§depth: isize
Implementations§
source§impl<'abbrev, 'unit, 'tree, R: Reader> EntriesTreeNode<'abbrev, 'unit, 'tree, R>
impl<'abbrev, 'unit, 'tree, R: Reader> EntriesTreeNode<'abbrev, 'unit, 'tree, R>
fn new( tree: &'tree mut EntriesTree<'abbrev, 'unit, R>, depth: isize, ) -> EntriesTreeNode<'abbrev, 'unit, 'tree, R>
sourcepub fn entry(&self) -> &DebuggingInformationEntry<'abbrev, 'unit, R>
pub fn entry(&self) -> &DebuggingInformationEntry<'abbrev, 'unit, R>
Returns the current entry in the tree.
sourcepub fn children(self) -> EntriesTreeIter<'abbrev, 'unit, 'tree, R>
pub fn children(self) -> EntriesTreeIter<'abbrev, 'unit, 'tree, R>
Create an iterator for the children of the current entry.
The current entry can no longer be accessed after creating the iterator.
Trait Implementations§
Auto Trait Implementations§
impl<'abbrev, 'unit, 'tree, R> Freeze for EntriesTreeNode<'abbrev, 'unit, 'tree, R>
impl<'abbrev, 'unit, 'tree, R> !RefUnwindSafe for EntriesTreeNode<'abbrev, 'unit, 'tree, R>
impl<'abbrev, 'unit, 'tree, R> Send for EntriesTreeNode<'abbrev, 'unit, 'tree, R>
impl<'abbrev, 'unit, 'tree, R> !Sync for EntriesTreeNode<'abbrev, 'unit, 'tree, R>
impl<'abbrev, 'unit, 'tree, R> Unpin for EntriesTreeNode<'abbrev, 'unit, 'tree, R>
impl<'abbrev, 'unit, 'tree, R> !UnwindSafe for EntriesTreeNode<'abbrev, 'unit, 'tree, R>
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