MCPcopy Create free account
hub / github.com/alexfertel/rust-algorithms / BinarySearchTreeIter

Class BinarySearchTreeIter

src/data_structures/binary_search_tree.rs:416–421  ·  view source on GitHub ↗

Iterator for BinarySearchTree Iterates over the tree in ascending order

Source from the content-addressed store, hash-verified

414///
415/// Iterates over the tree in ascending order
416struct BinarySearchTreeIter<'a, T>
417where
418 T: Ord,
419{
420 stack: Vec<&'a BinarySearchTree<T>>,
421}
422
423impl<'a, T> BinarySearchTreeIter<'a, T>
424where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected