MCPcopy 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_allMethod · 0.45
lowerMethod · 0.45
casefoldMethod · 0.45
upperMethod · 0.45
capitalizeMethod · 0.45
splitMethod · 0.45
stripMethod · 0.45
islowerMethod · 0.45
isupperMethod · 0.45
do_sliceMethod · 0.45
do_slice_reverseMethod · 0.45
do_stepped_sliceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected