ascii_str

Macro ascii_str 

Source
macro_rules! ascii_str {
    ($str:expr_2021) => { ... };
}
Expand description

Include a fast string in the binary from a string literal. This string is asserted at compile-time to be 7-bit ASCII for optimal v8 performance.

This macro creates a FastStaticString that may be converted to a FastString via Into::into.