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

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

Windows-specific extensions to OsStr.

Required Methods

fn encode_wide(&self) -> EncodeWide

Re-encodes an 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