Struct cretonne_codegen::settings::Builder
[−]
[src]
pub struct Builder { /* fields omitted */ }
Collect settings values based on a template.
Methods
impl Builder
[src]
pub fn new(tmpl: &'static Template) -> Self
[src]
Create a new builder with defaults and names from the given template.
pub fn state_for(&self, name: &str) -> &[u8]
[src]
Extract contents of builder once everything is configured.
Trait Implementations
impl Clone for Builder
[src]
fn clone(&self) -> Builder
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more