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.


  • Borrowed reference to an OS string (see OsString).
  • A type that can represent owned, mutable platform-native strings, but is cheaply inter-convertible with Rust strings.
  • DisplayExperimental
    Helper struct for safely printing an OsStr with format! and {}.