Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ to_wide
Method
to_wide
crates/common/src/windows.rs:19–21 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
17
T: AsRef<OsStr>,
18
{
19
fn to_wide(&self) -> Vec<u16> {
20
self.as_ref().encode_wide().collect()
21
}
22
fn to_wide_with_nul(&self) -> Vec<u16> {
23
self.as_ref().encode_wide().chain(Some(0)).collect()
24
}
Callers
6
update_st_mode_from_path
Method · 0.80
_path_splitroot
Function · 0.80
LCMapStringEx
Function · 0.80
mbcs_encode
Function · 0.80
oem_encode
Function · 0.80
code_page_encode
Function · 0.80
Calls
3
collect
Method · 0.80
encode_wide
Method · 0.80
as_ref
Method · 0.45
Tested by
no test coverage detected