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

Method is_full

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected