Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ len_wtf8
Method
len_wtf8
crates/wtf8/src/lib.rs:176–178 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
174
}
175
176
pub const fn len_wtf8(&self) -> usize {
177
len_utf8(self.value)
178
}
179
180
pub fn is_ascii(&self) -> bool {
181
self.is_char_and(|c| c.is_ascii())
Callers
7
len
Method · 0.80
codepoint_range_end
Function · 0.80
handle_encode_error
Method · 0.80
next
Method · 0.80
splitlines
Method · 0.80
bytes_len
Method · 0.80
pop
Method · 0.80
Calls
1
len_utf8
Function · 0.85
Tested by
no test coverage detected