MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / OsStr

Class OsStr

euralios_std/src/ffi.rs:27–29  ·  view source on GitHub ↗

Borrowed reference to an OS string (see [`OsString`]). This type represents a borrowed reference to a string in the operating system's preferred representation. `&OsStr` is to [`OsString`] as &[str] is to [`String`]: the former in each pair are borrowed references; the latter are owned strings.

Source from the content-addressed store, hash-verified

25/// `&OsStr` is to [`OsString`] as <code>&[str]</code> is to [`String`]: the
26/// former in each pair are borrowed references; the latter are owned strings.
27pub struct OsStr {
28 inner: str
29}
30
31impl OsString {
32 /// Constructs a new empty `OsString`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected