pub struct SolverFactory<B: LanguageBridge> { /* private fields */ }Implementations§
Source§impl<B: LanguageBridge> SolverFactory<B>
impl<B: LanguageBridge> SolverFactory<B>
pub fn create( config: SolverConfig, service_url: impl Into<String>, domain_model: DomainModel, constraints: ConstraintSet, wasm_module: String, ) -> Self
pub fn with_service( config: SolverConfig, service: Arc<dyn SolverService>, domain_model: DomainModel, constraints: ConstraintSet, wasm_module: String, ) -> Self
pub fn build_solver(&self, bridge: Arc<B>) -> Solver<B>
pub fn config(&self) -> &SolverConfig
pub fn domain_model(&self) -> &DomainModel
pub fn constraints(&self) -> &ConstraintSet
pub fn is_service_available(&self) -> bool
Auto Trait Implementations§
impl<B> Freeze for SolverFactory<B>
impl<B> !RefUnwindSafe for SolverFactory<B>
impl<B> Send for SolverFactory<B>
impl<B> Sync for SolverFactory<B>
impl<B> Unpin for SolverFactory<B>where
B: Unpin,
impl<B> !UnwindSafe for SolverFactory<B>
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