MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / is_leaf

Method is_leaf

nodedb-spatial/src/rtree/node.rs:87–89  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

85 }
86
87 pub fn is_leaf(&self) -> bool {
88 matches!(self.kind, NodeKind::Leaf { .. })
89 }
90
91 pub fn capacity(&self) -> usize {
92 if self.is_leaf() {

Callers 5

choose_subtreeFunction · 0.80
forced_reinsertFunction · 0.80
delete_entryFunction · 0.80
capacityMethod · 0.80
min_fillMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected