MCPcopy 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

insertMethod · 0.80
delete_minMethod · 0.80
delete_maxMethod · 0.80
deleteMethod · 0.80
buildFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected