Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_empty
Method
is_empty
crates/common/src/boxvec.rs:54–56 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
52
53
#[inline]
54
pub const fn is_empty(&self) -> bool {
55
self.len() == 0
56
}
57
58
#[inline]
59
pub const fn capacity(&self) -> usize {
Callers
1
pop
Method · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected