pub struct Config { /* private fields */ }
Expand description
Implementations§
source§impl Config
impl Config
sourcepub fn new() -> Config
pub fn new() -> Config
Create a configuration object for the Z3 context object.
Configurations are created in order to assign parameters prior to creating contexts for Z3 interaction. For example, if the users wishes to use proof generation, then call:
use z3::Config;
let mut cfg = Config::new();
cfg.set_proof_generation(true);
See also
sourcepub fn set_param_value(&mut self, k: &str, v: &str)
pub fn set_param_value(&mut self, k: &str, v: &str)
sourcepub fn set_bool_param_value(&mut self, k: &str, v: bool)
pub fn set_bool_param_value(&mut self, k: &str, v: bool)
sourcepub fn set_proof_generation(&mut self, b: bool)
pub fn set_proof_generation(&mut self, b: bool)
sourcepub fn set_model_generation(&mut self, b: bool)
pub fn set_model_generation(&mut self, b: bool)
pub fn set_debug_ref_count(&mut self, b: bool)
pub fn set_timeout_msec(&mut self, ms: u64)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl !Send for Config
impl !Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more