pub struct EmptyRectangles;Trait Implementations§
Source§impl Technique for EmptyRectangles
impl Technique for EmptyRectangles
fn get_rule(&self) -> Rule
fn run(&self, solver: &Solver) -> Vec<SolutionStep>
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( &self, step: &SolutionStep, solver: &mut Solver, ) -> (bool, Option<InvalidStateReason>)
fn apply_corresponding_indices(&self) -> bool
Auto Trait Implementations§
impl Freeze for EmptyRectangles
impl RefUnwindSafe for EmptyRectangles
impl Send for EmptyRectangles
impl Sync for EmptyRectangles
impl Unpin for EmptyRectangles
impl UnwindSafe for EmptyRectangles
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