Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_utf8
Method
is_utf8
crates/vm/src/builtins/str.rs:526–528 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
524
}
525
526
pub const fn is_utf8(&self) -> bool {
527
self.kind().is_utf8()
528
}
529
530
fn char_all<F>(&self, test: F) -> bool
531
where
Callers
6
try_from_object
Method · 0.45
utf_8_encode
Function · 0.45
new_substr
Method · 0.45
ensure_valid_utf8
Method · 0.45
validate_downcastable_from
Method · 0.45
fsencode
Method · 0.45
Calls
1
kind
Method · 0.45
Tested by
no test coverage detected