Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ from
Method
from
crates/wtf8/src/lib.rs:186–188 ·
view source on GitHub ↗
(value: u16)
Source
from the content-addressed store, hash-verified
184
185
impl From<u16> for CodePoint {
186
fn from(value: u16) -> Self {
187
unsafe { Self::from_u32_unchecked(value.into()) }
188
}
189
}
190
191
impl From<u8> for CodePoint {
Callers
nothing calls this directly
Calls
5
from_boxed_wtf8_unchecked
Function · 0.85
encode_wtf8
Method · 0.80
into_box
Method · 0.80
to_owned
Method · 0.45
as_bytes
Method · 0.45
Tested by
no test coverage detected