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

Method from

crates/common/src/str.rs:125–127  ·  view source on GitHub ↗
(value: usize)

Source from the content-addressed store, hash-verified

123impl From<usize> for StrLen {
124 #[inline(always)]
125 fn from(value: usize) -> Self {
126 Self(Radium::new(value))
127 }
128}
129
130impl fmt::Debug for StrLen {

Callers

nothing calls this directly

Calls 6

SelfFunction · 0.85
newFunction · 0.85
str_kindMethod · 0.80
to_stringMethod · 0.80
lenMethod · 0.45
to_charMethod · 0.45

Tested by

no test coverage detected