macro_rules! c8string { ($string:literal) => { ... }; }
alloc
Make a new C8String from a string literal. This macro adds the null terminator for you and checks validity at compile time.
C8String
This is equivalent to calling C8String::from(c8!("literal")). See c8! for more information.
C8String::from(c8!("literal"))
c8!