Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_subtree
Function · 0.80
forced_reinsert
Function · 0.80
delete_entry
Function · 0.80
capacity
Method · 0.80
min_fill
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected