pub struct Solver { /* private fields */ }Expand description
A struct representing a solver instance in the PaPILO library.
Implementations§
Source§impl Solver
impl Solver
Sourcepub fn raw(&self) -> *mut Papilo_Solver
pub fn raw(&self) -> *mut Papilo_Solver
Returns a raw pointer to the underlying Papilo_Solver.
Sourcepub fn load_problem(&mut self, problem: Problem)
pub fn load_problem(&mut self, problem: Problem)
Loads a problem into the solver.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Solver
impl !Sync for Solver
impl Freeze for Solver
impl RefUnwindSafe for Solver
impl Unpin for Solver
impl UnsafeUnpin for Solver
impl UnwindSafe 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