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 [BTreeMap](std::collections::BTreeMap)
#[macro_export]
macro_rules! btree_map {
    () => { ::std::collections::BTreeMap::new() };
    ($($tt:tt)*) => { ::std::collections::BTreeMap::from( $crate::macron_map::parse_map!( $($tt)* ) ) };
}