MCPcopy Create free account
hub / github.com/QMHTMY/RustBook / postorder

Method postorder

publication/code/chapter08/avl.rs:379–388  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

377 }
378
379 fn postorder(&self) {
380 match self {
381 Null => (),
382 Tree(node) => {
383 node.left.postorder();
384 node.right.postorder();
385 println!("key: {:?}", node.key);
386 },
387 }
388 }
389
390 fn levelorder(&self) {
391 let size = self.size();

Callers 1

orderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected