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

Method get_right

publication/code/chapter08/bst.rs:231–233  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

229 }
230
231 fn get_right(&self) -> Link<T,U> {
232 self.right.clone()
233 }
234
235 // 获取值引用,和查找流程相似
236 fn get(&self, key: &T) -> Option<&U> {

Callers 5

levelorderMethod · 0.45
preorderFunction · 0.45
inorderFunction · 0.45
postorderFunction · 0.45
levelorderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected