MCPcopy Index your code
hub / github.com/RustPython/RustPython / code_points

Method code_points

crates/wtf8/src/lib.rs:833–837  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

831 /// Returns an iterator for the string’s code points.
832 #[inline]
833 pub fn code_points(&self) -> Wtf8CodePoints<'_> {
834 Wtf8CodePoints {
835 bytes: self.bytes.iter(),
836 }
837 }
838
839 /// Returns an iterator for the string’s code points and their indices.
840 #[inline]

Callers 15

countMethod · 0.80
__reduce__Method · 0.80
extract_charMethod · 0.80
scanstringFunction · 0.80
_compute_char_lenMethod · 0.80
nth_charMethod · 0.80
try_get_codepointsFunction · 0.80
to_asciiFunction · 0.80
parseMethod · 0.80
from_stringMethod · 0.80
parse_alternate_formFunction · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected