Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/douchuan/algorithm
/ is_empty
Method
is_empty
src/tree/binary/tree.rs:22–24 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
20
}
21
22
pub fn is_empty(&self) -> bool {
23
self.root.is_none()
24
}
25
}
26
27
impl<K, V> Default for Tree<K, V> {
Callers
4
iterate
Method · 0.45
visitor
Method · 0.45
keys
Method · 0.45
expand_sharp
Function · 0.45
Calls
1
is_none
Method · 0.80
Tested by
no test coverage detected