Skip to main content

builder_methods

Macro builder_methods 

Source
macro_rules! builder_methods {
    (
        $builder_type:ty,
        $target_type:ty,
        {
            $(
                $method_name:ident : $field_type:ty = $field_name:ident
            ),* $(,)?
        }
    ) => { ... };
}
Expand description

Fluent builder macro for creating builder methods