pub struct Solver {
pub z3: Z3,
}Fields§
§z3: Z3Implementations§
Source§impl Solver
impl Solver
Sourcepub fn new_cli(cache_dir: Option<PathBuf>) -> Option<Self>
pub fn new_cli(cache_dir: Option<PathBuf>) -> Option<Self>
Expect the z3 command to be available in the environment. Optionally provide a filesystem cache for model output.
Sourcepub fn new_wasm(callback: Function) -> Self
pub fn new_wasm(callback: Function) -> Self
Pass a javascript callback string->string for smt2 input.
pub fn prove( &mut self, facts: &[Constraint], goal: &Constraint, names: &[String], nonneg: &[Var], ) -> Verdict
Auto Trait Implementations§
impl !RefUnwindSafe for Solver
impl !Send for Solver
impl !Sync for Solver
impl !UnwindSafe for Solver
impl Freeze for Solver
impl Unpin for Solver
impl UnsafeUnpin for Solver
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