Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
1393
impl<
'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_opt
Method · 0.45
delete
Method · 0.45
get
Method · 0.45
get_future_repr_info
Function · 0.45
get_future_repr_info_fallback
Function · 0.45
get_task_repr_info
Function · 0.45
repr_wtf8
Method · 0.45
py_new
Method · 0.45
parse_address
Function · 0.45
extract_char
Method · 0.45
normalize
Method · 0.45
is_normalized
Method · 0.45
Calls
1
as_slice
Method · 0.45
Tested by
no test coverage detected