btree_map | An initializer for BTreeMap , allowing for entries to be specified individually
or for the same value to be given to multiple keys using the .. operator.
|
btree_map_from | An initializer for BTreeMap that works the same as btree_map! except that
values can be of any type that can be converted into the collection's item
type via an Into implementation.
|
btree_set | An initializer for BTreeSet , allowing for items to be specified individually
or "spread" using the .. operator.
|
btree_set_from | An initializer for BTreeSet that works the same as btree_set! except that
values can be of any type that can be converted into the collection's item type.
|
hash_map | An initializer for HashMap , allowing for entries to be specified individually
or for the same value to be given to multiple keys using the .. operator.
|
hash_map_from | An initializer for HashMap that works the same as hash_map! except that
values can be of any type that can be converted into the collection's item
type via an Into implementation.
|
hash_set | An initializer for HashSet , allowing for items to be specified individually
or "spread" using the .. operator.
|
hash_set_from | An initializer for HashSet that works the same as hash_set! except that
values can be of any type that can be converted into the collection's item
type via an Into implementation.
|
iter | Creates an iterator, over the given values. Other collections and iterators
may also be interspersed, or "spread", using the .. operator.
|
iter_from | Creates an iterator, over the given values. Works the same as iter except that values
may be any type that can be converted to the iterator item type via an Into
implementation.
|
linked_list | An initializer for LinkedList , allowing for items to be specified individually
or "spread" using the .. operator.
|
linked_list_from | An initializer for LinkedList that works the same as linked_list! except that
values can be of any type that can be converted into the collection's item
type via an Into implementation.
|
map_iter | Creates an iterator over pairs of values, expressed with map-like syntax.
Other collections and iterators may also be interspersed, or "spread", using the
.. operator.
|
map_iter_from | Creates an iterator over pairs of values in the same way as map_iter except
that values are converted into the expected type using an Into implementation.
|
vec | A more flexible vector initialization macro. velcro::vec! is a
drop-in replacement for the built-in std::vec! macro, but with extra
functionality. In particular, it adds the .. spread operator, which
can insert multiple elements at once, provided that the expression
implements IntoIterator , which is the case for all iterators and most
collections.
|
vec_from | Works the same as vec! except that values may be of any type that can be
converted into the item type via an implementation of Into .
|