[−][src]Struct kurobako_core::registry::FactoryRegistry
Factory registry.
Methods
impl FactoryRegistry
[src]
pub fn new<P, S>() -> Self where
P: 'static + ProblemRecipe,
S: 'static + SolverRecipe,
[src]
P: 'static + ProblemRecipe,
S: 'static + SolverRecipe,
Makes a new FactoryRegistry
instance.
pub fn get_or_create_problem_factory<R: ProblemRecipe>(
&self,
recipe: &R
) -> Result<Arc<Mutex<BoxProblemFactory>>>
[src]
&self,
recipe: &R
) -> Result<Arc<Mutex<BoxProblemFactory>>>
Gets or creates a problem factory associated with the given recipe.
pub fn get_or_create_problem_factory_from_json(
&self,
recipe: &JsonRecipe
) -> Result<Arc<Mutex<BoxProblemFactory>>>
[src]
&self,
recipe: &JsonRecipe
) -> Result<Arc<Mutex<BoxProblemFactory>>>
Gets or creates a problem factory associated with the given recipe JSON.
pub fn get_or_create_solver_factory<R: SolverRecipe>(
&self,
recipe: &R
) -> Result<Arc<Mutex<BoxSolverFactory>>>
[src]
&self,
recipe: &R
) -> Result<Arc<Mutex<BoxSolverFactory>>>
Gets or creates a solver factory associated with the given recipe.
pub fn get_or_create_solver_factory_from_json(
&self,
recipe: &JsonRecipe
) -> Result<Arc<Mutex<BoxSolverFactory>>>
[src]
&self,
recipe: &JsonRecipe
) -> Result<Arc<Mutex<BoxSolverFactory>>>
Gets or creates a solver factory associated with the given recipe JSON.
Trait Implementations
Auto Trait Implementations
impl Send for FactoryRegistry
impl !Sync for FactoryRegistry
impl Unpin for FactoryRegistry
impl !UnwindSafe for FactoryRegistry
impl !RefUnwindSafe for FactoryRegistry
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,