Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ capacity
Method
capacity
crates/vm/src/bytes_inner.rs:287–289 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
285
286
#[inline]
287
pub const fn capacity(&self) -> usize {
288
self.elements.capacity()
289
}
290
291
#[inline]
292
pub const fn is_empty(&self) -> bool {
Callers
5
vec_into_f64
Method · 0.45
getgroups_impl
Function · 0.45
vec_to_bytes
Function · 0.45
__alloc__
Method · 0.45
__sizeof__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected