Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_distance
Function · 0.45
edit_distance2
Function · 0.45
add_multi
Method · 0.45
remove_multi
Method · 0.45
get
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected