Crate linear_collections_macros

Source

Macros§

array_map
NOTE: This macro does not currently consider prefixed or suffixed items (r“t“ and “t” or 1 and 1usize) to be distinct. This is highly likely to change in the future, and this fix may not be considered a breaking change. Creates an ArrayMap, checking at compile time that there are no duplicate keys.
vec_map
NOTE: This macro does not currently consider prefixed or suffixed items (r“t“ and “t” or 1 and 1usize) to be distinct. This is highly likely to change in the future, and this fix may not be considered a breaking change. Creates a VecMap, checking at compile time that there are no duplicate keys.
vec_set
NOTE: This macro does not currently consider prefixed or suffixed items (r“t“ and “t” or 1 and 1usize) to be distinct. This is highly likely to change in the future, and this fix may not be considered a breaking change. Creates a VecMap, checking at compile time that there are no duplicate values.