macron-collections 0.1.6

Creates a new instance of std collections: HashMap, HashSet, BTreeMap, BTreeSet, VecDeque, LinkedList and BinaryHeap
Documentation
1
2
3
4
5
6
/// Creates a collection [HashMap](std::collections::HashMap)
#[macro_export]
macro_rules! hash_map {
    () => { ::std::collections::HashMap::new() };
    ($($tokens:tt)*) => { ::std::collections::HashMap::from( $crate::macron_map::parse_map!($($tokens)*) ) };
}