derive_builder

Derive Macro Builder

Source
#[derive(Builder)]
{
    // Attributes available to this derive:
    #[builder]
    #[builder_field_attr]
    #[builder_impl_attr]
    #[builder_setter_attr]
    #[builder_struct_attr]
}
Expand description

Create a builder struct for the deriving struct.

See the derive_builder crate documentation for more details.