pub struct BreadthFirst;Expand description
Marker struct representing breadth-first traversal order.
Breadth-first traversal visits all nodes at the same depth level before moving to the next level. This is implemented using a queue where children are added to the back of the queue.
Trait Implementations§
Source§impl Debug for BreadthFirst
impl Debug for BreadthFirst
impl TraversalOrder for BreadthFirst
Auto Trait Implementations§
impl Freeze for BreadthFirst
impl RefUnwindSafe for BreadthFirst
impl Send for BreadthFirst
impl Sync for BreadthFirst
impl Unpin for BreadthFirst
impl UnwindSafe for BreadthFirst
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