std
1.79.0-nightly
(88c2f4f5f 2024-04-02)
Module os_str
Structs
In std::ffi
?
Module
std
::
ffi
::
os_str
source
·
[
−
]
🔬
This is a nightly-only experimental API. (
os_str_display
#120048
)
Expand description
The
OsStr
and
OsString
types and associated utilities.
Structs
§
OsStr
Borrowed reference to an OS string (see
OsString
).
OsString
A type that can represent owned, mutable platform-native strings, but is cheaply inter-convertible with Rust strings.
Display
Experimental
Helper struct for safely printing an
OsStr
with
format!
and
{}
.