[][src]Derive Macro bolero_generator::TypeGenerator

#[derive(TypeGenerator)]
{
    // Attributes available to this derive:
    #[generator]
}

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.