macro_rules! owned_map { ($({$key:literal: $x:expr }),*) => { ... }; }
Expand description
A simple macro to create an owned map
its syntax is owned_map!({"key": value}, ... , {"key": value})
Example
use rustsynth::owned_map;
let map = owned_map!({"int": &0});