Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ set_size
Method
set_size
src/tree/binary/tree.rs:18–20 ·
view source on GitHub ↗
(&mut self, size: usize)
Source
from the content-addressed store, hash-verified
16
}
17
18
pub fn set_size(&mut self, size: usize) {
19
self.size = size;
20
}
21
22
pub fn is_empty(&self) -> bool {
23
self.root.is_none()
Callers
5
insert
Method · 0.80
delete_min
Method · 0.80
delete_max
Method · 0.80
delete
Method · 0.80
build
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected