pub enum SMTSolverOption {
BooleanOption {
name: String,
value: bool,
},
UnsignedIntOption {
name: String,
value: u32,
},
}Expand description
Type for options that can be supplied to an SMT solver
Variants§
Implementations§
Source§impl SMTSolverOption
impl SMTSolverOption
Sourcepub fn new_boolean_opt(name: String, value: bool) -> Self
pub fn new_boolean_opt(name: String, value: bool) -> Self
Create a new boolean SMTSolverOption
Sourcepub fn new_integer_opt(name: String, value: u32) -> Self
pub fn new_integer_opt(name: String, value: u32) -> Self
Create a new integer SMTSolverOption
Sourcepub fn apply_option(&self, solver: &mut SMTSolver)
pub fn apply_option(&self, solver: &mut SMTSolver)
Apply option to the SMT solver
Trait Implementations§
Source§impl Clone for SMTSolverOption
impl Clone for SMTSolverOption
Source§fn clone(&self) -> SMTSolverOption
fn clone(&self) -> SMTSolverOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SMTSolverOption
impl Debug for SMTSolverOption
Source§impl<'de> Deserialize<'de> for SMTSolverOption
impl<'de> Deserialize<'de> for SMTSolverOption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SMTSolverOption
impl Display for SMTSolverOption
Source§impl PartialEq for SMTSolverOption
impl PartialEq for SMTSolverOption
impl StructuralPartialEq for SMTSolverOption
Auto Trait Implementations§
impl Freeze for SMTSolverOption
impl RefUnwindSafe for SMTSolverOption
impl Send for SMTSolverOption
impl Sync for SMTSolverOption
impl Unpin for SMTSolverOption
impl UnwindSafe for SMTSolverOption
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