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

Method len

crates/common/src/str.rs:293–295  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

291
292 #[inline]
293 pub fn len(&self) -> usize {
294 self.data.len()
295 }
296
297 pub fn is_empty(&self) -> bool {
298 self.data.is_empty()

Callers 15

find_unclosed_bracketFunction · 0.45
fromMethod · 0.45
new_str_uncheckedMethod · 0.45
zfillFunction · 0.45
levenshtein_distanceFunction · 0.45
expandtabsFunction · 0.45
get_num_digitsFunction · 0.45
parse_fill_and_alignFunction · 0.45
separate_integerMethod · 0.45
insert_separatorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected