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

Method as_wtf8

crates/common/src/str.rs:257–259  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

255
256 #[inline]
257 pub const fn as_wtf8(&self) -> &Wtf8 {
258 &self.data
259 }
260
261 // TODO: rename to to_str
262 #[inline]

Callers 6

try_get_codepointsFunction · 0.45
parseMethod · 0.45
parse_alternate_formFunction · 0.45
parse_zeroFunction · 0.45
parse_precisionFunction · 0.45
parse_literal_singleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected