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

Method postorder

publication/code/chapter08/rbtree.rs:176–180  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

174 }
175
176 unsafe fn postorder(&self) {
177 if !self.left.is_null() { (*self.left).postorder(); }
178 if !self.right.is_null() { (*self.right).postorder(); }
179 println!("key: {:?}", &self.key);
180 }
181
182 unsafe fn levelorder(&self) {
183 let size = self.size(0);

Callers 1

orderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected