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

Method is_empty

code/chapter09/lru.rs:96–98  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

94 }
95
96 fn is_empty(&self) -> bool {
97 self.map.is_empty()
98 }
99
100 fn is_full(&self) -> bool {
101 self.map.len() == self.cap

Callers 5

edit_distanceFunction · 0.45
edit_distance2Function · 0.45
add_multiMethod · 0.45
remove_multiMethod · 0.45
getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected