[][src]Macro conrod::builder_method

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 }) => { ... };
}

A macro for simplifying implementation of methods for the builder pattern.

See the `builder_methods! docs for more background and details.