Macro argmin::kv

source ·
macro_rules! kv {
    ($($k:expr =>  $v:expr;)*) => { ... };
}
Expand description

Creates an KV at compile time

§Example

use argmin::kv;

let kv = kv!(
    "key1" => "value1";
    "key2" => "value2";
    "key3" => 1234;
);