Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ none_leaf_size
Method
none_leaf_size
publication/code/chapter08/rbtree.rs:110–112 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
108
}
109
110
unsafe fn none_leaf_size(&self) -> usize {
111
self.size(0) - self.leaf_size()
112
}
113
114
unsafe fn depth(&self) -> usize {
115
let mut dl = 1;
Callers
nothing calls this directly
Calls
2
size
Method · 0.45
leaf_size
Method · 0.45
Tested by
no test coverage detected