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

Method new_parent

src/tree/binary/node.rs:132–134  ·  view source on GitHub ↗

create NodeQuery from node parent

(node: Option<NonNull<Node<K, V>>>)

Source from the content-addressed store, hash-verified

130
131 /// create NodeQuery from node parent
132 pub fn new_parent(node: Option<NonNull<Node<K, V>>>) -> Self {
133 Self::new(node).parent()
134 }
135
136 pub fn set_left(&mut self, node: Option<NonNull<Node<K, V>>>) {
137 unsafe {

Callers

nothing calls this directly

Calls 1

parentMethod · 0.80

Tested by

no test coverage detected