Expand description
§bomboni_macros
Common macros for the Bomboni library.
This crate provides a collection of convenient macros.
Macros§
- btree_
map - A macro that creates a new
BTreeMapinstance with the given key-value pairs. - btree_
map_ into - A macro that creates a new
BTreeMapinstance with the given key-value pairs. The same asbtree_map!, but converts keys and values to the target type. - btree_
set - A macro that creates a new
BTreeSetand inserts the given values into it. - btree_
set_ into - A macro that creates a new
BTreeSetand inserts the given values into it. The same asbtree_set!, but converts values to the target type. - count_
repeating - A macro that counts the number of times a pattern is repeated.
- hash_
map - A macro that creates a new
HashMapinstance with the given key-value pairs. - hash_
map_ into - A macro that creates a new
HashMapinstance with the given key-value pairs. The same ashash_map!, but converts keys and values to the target type. - hash_
set - A macro that creates a new
HashSetand inserts the given values into it. - hash_
set_ into - A macro that creates a new
HashSetand inserts the given values into it. The same ashash_set!, but converts values to the target type. - regex
- A macro that creates a static
regex::Regexinstance from a string literal. - vec_
deque - A macro that creates a new
VecDequeinstance with the given values. - vec_
deque_ into - A macro that creates a new
VecDequeinstance with the given values. The same asvec_deque!, but converts values to the target type.