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

Method as_wtf8

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

Source from the content-addressed store, hash-verified

1392
1393impl<'a> Wtf8CodePoints<'a> {
1394 pub fn as_wtf8(&self) -> &'a Wtf8 {
1395 unsafe { Wtf8::from_bytes_unchecked(self.bytes.as_slice()) }
1396 }
1397}
1398
1399#[derive(Clone)]

Callers 15

complete_optMethod · 0.45
deleteMethod · 0.45
getMethod · 0.45
get_future_repr_infoFunction · 0.45
get_task_repr_infoFunction · 0.45
repr_wtf8Method · 0.45
py_newMethod · 0.45
parse_addressFunction · 0.45
extract_charMethod · 0.45
normalizeMethod · 0.45
is_normalizedMethod · 0.45

Calls 1

as_sliceMethod · 0.45

Tested by

no test coverage detected