[−][src]Macro graphplan::hashmap
Create a HashMap from a list of key-value pairs. Implementation copied from the maplit library https://github.com/bluss/maplit
Example
#[macro_use] extern crate graphplan; let map = hashmap!{ "a" => 1, "b" => 2, }; assert_eq!(map["a"], 1); assert_eq!(map["b"], 2); assert_eq!(map.get("c"), None);