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

Method get_entry

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

Source from the content-addressed store, hash-verified

287 }
288
289 pub fn get_entry(&self) -> Option<(&K, Option<&V>)> {
290 unsafe {
291 self.node
292 .map(|node| (&node.as_ref().key, node.as_ref().val.as_ref()))
293 }
294 }
295}
296
297impl Color {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected