Derive Macro bolero_generator::TypeGenerator
source · #[derive(TypeGenerator)]
{
// Attributes available to this derive:
#[generator]
}
Expand description
Derive the an implementation of TypeGenerator
for the given type.
The #[generator(my_custom_generator())]
attribute can be used
to customize how fields are generated. If no generator is specified,
the TypeGenerator
implementation will be used.