Derive Macro trait_based_collection::macros::Extend
source · [−]#[derive(Extend)]Expand description
This macro is used to derive the Extend trait for all the data structures that implement the
Collection trait. The Extend trait is implemented by iteratively adding the elements of
the iterator to the data structure using the add method of the Collection trait.
Panics
This macro will panic if the input could not be properly parsed using the [syn] crate.