macro_rules! impl_builder_setters {
($struct_name:ident, {
$( $field:ident: String $(,)? )*
}) => { ... };
($struct_name:ident, {
strings: { $( $string_field:ident $(,)? )* },
options: { $( $opt_field:ident: $opt_type:ty $(,)? )* },
vecs: { $( $vec_field:ident: $vec_type:ty $(,)? )* }
}) => { ... };
}Expand description
Macro to implement standard builder pattern setter methods