pub struct HiddenSet { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Technique for HiddenSet
impl Technique for HiddenSet
fn get_rule(&self) -> Rule
fn run(&self, solver: &Solver) -> Vec<SolutionStep>
fn apply( &self, step: &SolutionStep, solver: &mut Solver, ) -> (bool, Option<InvalidStateReason>)
fn is_grid_step(&self) -> bool
fn is_candidate_validity_update_step(&self) -> bool
fn build_solution_step( &self, cells: Vec<CellPosition>, values: Vec<u32>, areas: Vec<Area>, affected_cells: Vec<CellPosition>, ) -> SolutionStep
fn build_grid_solution_step( &self, cells: Vec<CellPosition>, values: Vec<u32>, areas: Vec<Area>, solver: &Solver, ) -> SolutionStep
fn build_simple_solution_step( &self, values: Vec<u32>, areas: Vec<Area>, affected_cells: Vec<CellPosition>, ) -> SolutionStep
fn apply_corresponding_indices(&self) -> bool
Auto Trait Implementations§
impl Freeze for HiddenSet
impl RefUnwindSafe for HiddenSet
impl Send for HiddenSet
impl Sync for HiddenSet
impl Unpin for HiddenSet
impl UnwindSafe for HiddenSet
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