Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ is_empty
Method
is_empty
publication/code/chapter04/deque.rs:18–20 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
16
}
17
18
fn is_empty(&self) -> bool {
19
0 == self.len()
20
}
21
22
fn is_full(&self) -> bool {
23
self.len() == self.cap
Callers
1
next
Method · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected