Macro utf16_lit::utf16_null[][src]

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

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

If you do not want to have a null terminator added to the string then you should use utf16!.