Trait std::os::windows::ffi::OsStrExt [] [src]

pub trait OsStrExt {
    fn encode_wide(&self) -> EncodeWide;
}

Windows-specific extensions to OsStr`OsStr`.

Required Methods

fn encode_wide(&self) -> EncodeWide

Re-encodes an OsStr`OsStr` as a wide character sequence, i.e. potentially ill-formed UTF-16.

This is lossless. Note that the encoding does not include a final null.

Implementors