std
1.78.0
(9b00956e5 2024-04-29) (Homebrew)
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
{}
.