[−][src]Enum chalk_solve::SolverChoice
Variants
Run the SLG solver, producing a Solution.
Run the recursive solver.
Implementations
impl SolverChoice
[src]
pub fn slg(max_size: usize, expected_answers: Option<usize>) -> Self
[src]
Returns specific SLG parameters.
pub fn slg_default() -> Self
[src]
Returns the default SLG parameters.
pub fn recursive() -> Self
[src]
Returns the default recursive solver setup.
pub fn into_solver<I: Interner>(self) -> Solver<I>
[src]
Creates a solver state.
Trait Implementations
impl Clone for SolverChoice
[src]
fn clone(&self) -> SolverChoice
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SolverChoice
[src]
impl Debug for SolverChoice
[src]
impl Default for SolverChoice
[src]
impl Eq for SolverChoice
[src]
impl Hash for SolverChoice
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SolverChoice
[src]
fn cmp(&self, other: &SolverChoice) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SolverChoice> for SolverChoice
[src]
fn eq(&self, other: &SolverChoice) -> bool
[src]
fn ne(&self, other: &SolverChoice) -> bool
[src]
impl PartialOrd<SolverChoice> for SolverChoice
[src]
fn partial_cmp(&self, other: &SolverChoice) -> Option<Ordering>
[src]
fn lt(&self, other: &SolverChoice) -> bool
[src]
fn le(&self, other: &SolverChoice) -> bool
[src]
fn gt(&self, other: &SolverChoice) -> bool
[src]
fn ge(&self, other: &SolverChoice) -> bool
[src]
impl StructuralEq for SolverChoice
[src]
impl StructuralPartialEq for SolverChoice
[src]
Auto Trait Implementations
impl RefUnwindSafe for SolverChoice
impl Send for SolverChoice
impl Sync for SolverChoice
impl Unpin for SolverChoice
impl UnwindSafe for SolverChoice
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> Cast for T
[src]
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
[src]
Self: CastTo<U>,
U: HasInterner,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<N> NodeTrait for N where
N: Copy + Ord + Hash,
[src]
N: Copy + Ord + Hash,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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>,