pub struct RunnerConfig {
pub depth_step: usize,
pub depth_limit: usize,
pub answer_limit: usize,
pub answer_pause: bool,
pub solver: Solver,
pub heuristic: Heuristic,
pub debug_mode: bool,
}Fields§
§depth_step: usize§depth_limit: usize§answer_limit: usize§answer_pause: bool§solver: Solver§heuristic: Heuristic§debug_mode: boolImplementations§
Source§impl RunnerConfig
impl RunnerConfig
pub fn new( solver: Solver, heuristic: Heuristic, debug_mode: bool, ) -> RunnerConfig
pub fn reset_default(&mut self)
pub fn set_param(&mut self, param: &QueryParam)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunnerConfig
impl RefUnwindSafe for RunnerConfig
impl Send for RunnerConfig
impl Sync for RunnerConfig
impl Unpin for RunnerConfig
impl UnsafeUnpin for RunnerConfig
impl UnwindSafe for RunnerConfig
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> 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