Struct gimli::read::EntriesTreeNode
source · [−]pub struct EntriesTreeNode<'abbrev, 'unit, 'tree, R: Reader> { /* private fields */ }
Expand description
A node in the Debugging Information Entry tree.
The root node of a tree can be obtained
via EntriesTree::root
.
Implementations
sourceimpl<'abbrev, 'unit, 'tree, R: Reader> EntriesTreeNode<'abbrev, 'unit, 'tree, R>
impl<'abbrev, 'unit, 'tree, R: Reader> 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> !RefUnwindSafe for EntriesTreeNode<'abbrev, 'unit, 'tree, R>
impl<'abbrev, 'unit, 'tree, R> Send for EntriesTreeNode<'abbrev, 'unit, 'tree, R> where
R: Send + Sync,
<R as Reader>::Offset: Send + Sync,
impl<'abbrev, 'unit, 'tree, R> !Sync for EntriesTreeNode<'abbrev, 'unit, 'tree, R>
impl<'abbrev, 'unit, 'tree, R> Unpin for EntriesTreeNode<'abbrev, 'unit, 'tree, R> where
'abbrev: 'tree,
'unit: 'tree,
impl<'abbrev, 'unit, 'tree, R> !UnwindSafe for EntriesTreeNode<'abbrev, 'unit, 'tree, R>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more