MCPcopy 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_f64Method · 0.45
getgroups_implFunction · 0.45
vec_to_bytesFunction · 0.45
__alloc__Method · 0.45
__sizeof__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected