Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
123
impl From<usize> for StrLen {
124
#[inline(always)]
125
fn from(value: usize) -> Self {
126
Self(Radium::new(value))
127
}
128
}
129
130
impl fmt::Debug for StrLen {
Callers
nothing calls this directly
Calls
6
Self
Function · 0.85
new
Function · 0.85
str_kind
Method · 0.80
to_string
Method · 0.80
len
Method · 0.45
to_char
Method · 0.45
Tested by
no test coverage detected