pub struct Params<'ctx> { /* private fields */ }
Expand description
Parameter set used to configure many components (simplifiers, tactics, solvers, etc).
Implementations§
source§impl<'ctx> Params<'ctx>
impl<'ctx> Params<'ctx>
pub fn new(ctx: &'ctx Context) -> Params<'ctx>
pub fn set_symbol<K: Into<Symbol>, V: Into<Symbol>>(&mut self, k: K, v: V)
pub fn set_bool<K: Into<Symbol>>(&mut self, k: K, v: bool)
pub fn set_f64<K: Into<Symbol>>(&mut self, k: K, v: f64)
pub fn set_u32<K: Into<Symbol>>(&mut self, k: K, v: u32)
Trait Implementations§
Auto Trait Implementations§
impl<'ctx> RefUnwindSafe for Params<'ctx>
impl<'ctx> !Send for Params<'ctx>
impl<'ctx> !Sync for Params<'ctx>
impl<'ctx> Unpin for Params<'ctx>
impl<'ctx> UnwindSafe for Params<'ctx>
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