Macro conrod_core::builder_method [−][src]
macro_rules! builder_method {
(pub $fn_name : ident { $($assignee : ident).+ = Some($Type : ty) }) => { ... };
($fn_name : ident { $($assignee : ident).+ = Some($Type : ty) }) => { ... };
(pub $fn_name : ident { $($assignee : ident).+ = $Type : ty }) => { ... };
($fn_name : ident { $($assignee : ident).+ = $Type : ty }) => { ... };
}
Expand description
A macro for simplifying implementation of methods for the builder pattern
.
See the `builder_methods! docs for more background and details.