pub struct SolverConfig {
pub tt_kind: TtKind,
pub tt_mem_default_mb: u32,
pub tt_mem_maximum_mb: u32,
}Expand description
Configuration for a Solver
0 for either memory field means “use the upstream default”.
Fields§
§tt_kind: TtKindKind of transposition table to allocate
tt_mem_default_mb: u32Default (initial) TT size in MiB; 0 for the upstream default
tt_mem_maximum_mb: u32Maximum TT size in MiB; 0 for the upstream default
Trait Implementations§
Source§impl Clone for SolverConfig
impl Clone for SolverConfig
Source§fn clone(&self) -> SolverConfig
fn clone(&self) -> SolverConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SolverConfig
Source§impl Debug for SolverConfig
impl Debug for SolverConfig
Source§impl Default for SolverConfig
impl Default for SolverConfig
impl Eq for SolverConfig
Source§impl Hash for SolverConfig
impl Hash for SolverConfig
Source§impl PartialEq for SolverConfig
impl PartialEq for SolverConfig
Source§fn eq(&self, other: &SolverConfig) -> bool
fn eq(&self, other: &SolverConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SolverConfig
Auto Trait Implementations§
impl Freeze for SolverConfig
impl RefUnwindSafe for SolverConfig
impl Send for SolverConfig
impl Sync for SolverConfig
impl Unpin for SolverConfig
impl UnsafeUnpin for SolverConfig
impl UnwindSafe for SolverConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more