MCPcopy Create free account
hub / github.com/douchuan/algorithm / right_key

Method right_key

src/tree/binary/node.rs:281–283  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

279 }
280
281 pub fn right_key(&self) -> Option<&K> {
282 self.right().get_key()
283 }
284
285 pub fn get_key(&self) -> Option<&'a K> {
286 unsafe { self.node.map(|node| &node.as_ref().key) }

Callers 2

succFunction · 0.80
setup_new_maxFunction · 0.80

Calls 2

get_keyMethod · 0.80
rightMethod · 0.45

Tested by

no test coverage detected