Struct lp_solvers::solvers::auto::AutoSolver[][src]

pub struct AutoSolver<SOLVER, NEXT>(_, _);

A solver that tries multiple solvers

Implementations

impl<SOLVER: Default, NEXT: Default> AutoSolver<SOLVER, NEXT>[src]

pub fn new() -> Self[src]

Instantiate an AutoSolver with all supported solvers

pub fn with_solver<NewSolver>(
    self,
    solver: NewSolver
) -> AutoSolver<NewSolver, Self>
[src]

Instantiate an AutoSolver with the given solvers

Trait Implementations

impl<SOLVER: Clone, NEXT: Clone> Clone for AutoSolver<SOLVER, NEXT>[src]

impl<SOLVER: Debug, NEXT: Debug> Debug for AutoSolver<SOLVER, NEXT>[src]

impl<A: Default, B: Default> Default for AutoSolver<A, B>[src]

The default AutoSolver contains all supported solvers

impl<S: SolverTrait, T: SolverTrait> SolverTrait for AutoSolver<S, T>[src]

Auto Trait Implementations

impl<SOLVER, NEXT> RefUnwindSafe for AutoSolver<SOLVER, NEXT> where
    NEXT: RefUnwindSafe,
    SOLVER: RefUnwindSafe

impl<SOLVER, NEXT> Send for AutoSolver<SOLVER, NEXT> where
    NEXT: Send,
    SOLVER: Send

impl<SOLVER, NEXT> Sync for AutoSolver<SOLVER, NEXT> where
    NEXT: Sync,
    SOLVER: Sync

impl<SOLVER, NEXT> Unpin for AutoSolver<SOLVER, NEXT> where
    NEXT: Unpin,
    SOLVER: Unpin

impl<SOLVER, NEXT> UnwindSafe for AutoSolver<SOLVER, NEXT> where
    NEXT: UnwindSafe,
    SOLVER: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,