pub struct DepthFirst;Expand description
Marker struct representing depth-first traversal order.
Depth-first traversal explores as far down a branch as possible before backtracking. This is implemented by adding children to the front of the queue or using a stack.
Trait Implementations§
Source§impl Debug for DepthFirst
impl Debug for DepthFirst
impl TraversalOrder for DepthFirst
Auto Trait Implementations§
impl Freeze for DepthFirst
impl RefUnwindSafe for DepthFirst
impl Send for DepthFirst
impl Sync for DepthFirst
impl Unpin for DepthFirst
impl UnwindSafe for DepthFirst
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