MCPcopy Index your code
hub / github.com/RustPython/RustPython / is_full

Method is_full

crates/common/src/boxvec.rs:63–65  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

61 }
62
63 pub const fn is_full(&self) -> bool {
64 self.len() == self.capacity()
65 }
66
67 pub const fn remaining_capacity(&self) -> usize {
68 self.capacity() - self.len()

Callers

nothing calls this directly

Calls 2

lenMethod · 0.45
capacityMethod · 0.45

Tested by

no test coverage detected