[][src]Macro wide_str::wide_str

macro_rules! wide_str {
    #[proc_macro_hack] => { ... };
}

Generates a &'static [u16] from a string literal.

Example

assert_eq!(&wide_str!("Hello, World!"), &[72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33, 0]);