macro_rules! u16str {
    ($expression:expr) => { ... };
}
Expand description

A macro for creating u16 wide strings at compile time.

Example

use u16cstr::{u16cstr, u16str};
use widestring::{U16String, U16Str};

const wide_string: &U16Str = u16str!("Test");
assert_eq!(wide_string, U16String::from_str("Test").as_ustr());