Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ to_wide_with_nul
Method
to_wide_with_nul
crates/common/src/windows.rs:22–24 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
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
}
25
}
26
27
impl ToWideString for OsStr {
Callers
15
get_file_information_by_name
Function · 0.80
attributes_from_dir
Function · 0.80
win32_xstat_slow_impl
Function · 0.80
get_kernel32_version
Function · 0.80
_findfirstfile
Function · 0.80
_test_file_type_by_name
Function · 0.80
_test_file_exists_by_name
Function · 0.80
readlink
Function · 0.80
ConnectRegistry
Function · 0.80
CreateKey
Function · 0.80
CreateKeyEx
Function · 0.80
DeleteKey
Function · 0.80
Calls
5
collect
Method · 0.80
chain
Method · 0.80
encode_wide
Method · 0.80
Some
Class · 0.50
as_ref
Method · 0.45
Tested by
no test coverage detected