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

Method len

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

Source from the content-addressed store, hash-verified

47
48 #[inline]
49 pub const fn len(&self) -> usize {
50 self.len
51 }
52
53 #[inline]
54 pub const fn is_empty(&self) -> bool {

Callers 15

is_emptyMethod · 0.45
capacityMethod · 0.45
is_fullMethod · 0.45
remaining_capacityMethod · 0.45
try_pushMethod · 0.45
push_uncheckedMethod · 0.45
try_insertMethod · 0.45
popMethod · 0.45
swap_popMethod · 0.45
pop_atMethod · 0.45
truncateMethod · 0.45
retainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected