Trait cranelift_codegen::settings::Configurable
source · pub trait Configurable {
fn set(&mut self, name: &str, value: &str) -> SetResult<()>;
fn enable(&mut self, name: &str) -> SetResult<()>;
}
Expand description
A string-based configurator for settings groups.
The Configurable
protocol allows settings to be modified by name before a finished Flags
struct is created.