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

Method len

code/chapter07/binary_heap.rs:39–41  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

37 }
38
39 fn len(&self) -> usize {
40 self.size
41 }
42
43 fn is_empty(&self) -> bool {
44 0 == self.size

Callers 1

build_newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected