MCPcopy Create free account
hub / github.com/QMHTMY/RustBook / is_empty

Method is_empty

publication/code/chapter08/avl.rs:22–24  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

20 }
21
22 fn is_empty(&self) -> bool {
23 0 == self.len()
24 }
25
26 fn len(&self) -> usize {
27 self.data.len()

Callers 2

levelorderMethod · 0.45
levelorderFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected