MCPcopy Index your code
hub / github.com/douchuan/algorithm / left

Method left

src/tree/binary/node.rs:77–79  ·  view source on GitHub ↗
(node: Option<NonNull<Self>>)

Source from the content-addressed store, hash-verified

75// relation
76impl<K, V> Node<K, V> {
77 pub fn left(node: Option<NonNull<Self>>) -> Option<NonNull<Self>> {
78 unsafe { node.and_then(|node| node.as_ref().left) }
79 }
80
81 pub fn right(node: Option<NonNull<Self>>) -> Option<NonNull<Self>> {
82 unsafe { node.and_then(|node| node.as_ref().right) }

Callers 15

insertFunction · 0.45
predFunction · 0.45
is_bstFunction · 0.45
keysFunction · 0.45
delete_minMethod · 0.45
delete_maxMethod · 0.45
deleteMethod · 0.45
putFunction · 0.45
del_minFunction · 0.45
del_maxFunction · 0.45
deleteFunction · 0.45
rotate_leftFunction · 0.45

Calls 1

leftFunction · 0.85

Tested by

no test coverage detected