Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ as_str_kind
Method
as_str_kind
crates/vm/src/builtins/str.rs:522–524 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
520
521
#[inline]
522
pub fn as_str_kind(&self) -> PyKindStr<'_> {
523
self.data.as_str_kind()
524
}
525
526
pub const fn is_utf8(&self) -> bool {
527
self.kind().is_utf8()
Callers
14
char_all
Method · 0.45
lower
Method · 0.45
casefold
Method · 0.45
upper
Method · 0.45
capitalize
Method · 0.45
split
Method · 0.45
strip
Method · 0.45
islower
Method · 0.45
isupper
Method · 0.45
do_slice
Method · 0.45
do_slice_reverse
Method · 0.45
do_stepped_slice
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected