Crate collection_literals

Source

Macrosยง

btree
Macro for initializing both BTreeMaps and BTreeSets. It can infer both type of collection and types of entries but you can provide explicit type annotations.
collection
Macro for initializing collections of any type. You must specify type of collection.
hash
Macro for initializing both HashMaps and HashSets. It can infer both type of collection and types of entries but you can provide explicit type annotations.