Macro utf16_lit::utf16[][src]

macro_rules! utf16 {
    ($text:expr) => { ... };
}

Turns a string literal into a u16 array literal ([u16; N]).

If you want to have a "null terminated" string (such as for some parts of Windows FFI) then you should use utf16_null!.