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

Method new_key

src/tree/binary/node.rs:55–57  ·  view source on GitHub ↗
(key: K)

Source from the content-addressed store, hash-verified

53 }
54
55 pub fn new_key(key: K) -> NonNull<Self> {
56 Self::new_leaf(key, None, None)
57 }
58
59 pub fn new_entry(key: K, val: V) -> NonNull<Self> {
60 Self::new_leaf(key, Some(val), None)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected