pub struct Masks { /* private fields */ }
Expand description
Masks for Rustoku puzzle, representing the state of rows, columns, and boxes.
This struct holds bitmasks for each row, column, and 3x3 box in the Rustoku board. Each bit in the masks corresponds to a number from 1 to 9, where a bit set to 1 indicates that the corresponding number is present in that row, column, or box.
Implementations§
Trait Implementations§
impl Copy for Masks
impl Eq for Masks
impl StructuralPartialEq for Masks
Auto Trait Implementations§
impl Freeze for Masks
impl RefUnwindSafe for Masks
impl Send for Masks
impl Sync for Masks
impl Unpin for Masks
impl UnwindSafe for Masks
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