Derive Macro trait_based_collection_macros::NewMacro
source · [−]#[derive(NewMacro)]
Expand description
Generates a new macro for the Collection
that follows the same syntax as array expressions.
The macro will be exported to the crate root and will be named the same as the collection
but in snake case.
Panics
This macro will panic if the input could not be properly parsed using the syn
crate.