[][src]Crate velcro

Macros

btree_set

An initializer for BTreeSet, allowing for items to be specified individually or "spread" using the .. operator.

hash_set

An initializer for HashSet, allowing for items to be specified individually or "spread" using the .. operator.

iter

Creates an iterator, over the given values. Other collections and iterators may also be interspersed, or "spread", using the .. operator.

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.