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

Method len

crates/vm/src/bytes_inner.rs:282–284  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

280
281 #[inline]
282 pub const fn len(&self) -> usize {
283 self.elements.len()
284 }
285
286 #[inline]
287 pub const fn capacity(&self) -> usize {

Callers 15

get_valueMethod · 0.45
repr_with_nameMethod · 0.45
capitalizeMethod · 0.45
swapcaseMethod · 0.45
fromhexMethod · 0.45
_padMethod · 0.45
countMethod · 0.45
findMethod · 0.45
maketransMethod · 0.45
translateMethod · 0.45
removeprefixMethod · 0.45
removesuffixMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected