Macro string_table

Source
macro_rules! string_table {
    ($(
        $key:expr => $value:expr
    ),* $(,)?) => { ... };
}
Expand description

A helper macro to easily create a StringTable.

ยงExample

let table = string_table! {
    "hello" => "world!",
};