Struct miniscript::iter::PostOrderIterItem
source · pub struct PostOrderIterItem<T> {
pub node: T,
pub index: usize,
pub child_indices: Vec<usize>,
}
Expand description
A set of data yielded by a PostOrderIter
.
Fields§
§node: T
The actual node data
index: usize
The index of this node (equivalent to if you’d called .enumerate()
on
the iterator)
child_indices: Vec<usize>
The indices of this node’s children.
Auto Trait Implementations§
impl<T> RefUnwindSafe for PostOrderIterItem<T>where T: RefUnwindSafe,
impl<T> Send for PostOrderIterItem<T>where T: Send,
impl<T> Sync for PostOrderIterItem<T>where T: Sync,
impl<T> Unpin for PostOrderIterItem<T>where T: Unpin,
impl<T> UnwindSafe for PostOrderIterItem<T>where T: UnwindSafe,
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