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

Method is_full

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

Source from the content-addressed store, hash-verified

98 }
99
100 fn is_full(&self) -> bool {
101 self.map.len() == self.cap
102 }
103
104 fn len(&self) -> usize {
105 self.map.len()

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected