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