[−][src]Macro literal::map
Map literal with .into()
for each key and value.
Examples
use std::collections::{HashMap,BTreeMap}; use literal::{map,MapLiteral}; let m: HashMap<String,i32> = map!{"x": 1, "y": 2}; let m: BTreeMap<String,i32> = map!{"x": 1, "y": 2};