[−][src]Struct sudoku_tui::sudoku::Sudoku
Fields
available: [[bool; 9]; 9]
Implementations
impl Sudoku
[src]
pub fn from_matrix(matrix: SudokuMatrix) -> Self
[src]
Convert from a [[u8; 9]; 9]
matrix (array-of-array) to a Sudoku
pub fn finished(&self) -> bool
[src]
pub fn conflict(&self, v: u8, coord: [usize; 2]) -> Option<[usize; 2]>
[src]
Trait Implementations
impl Debug for Sudoku
[src]
impl Display for Sudoku
[src]
impl From<[[u8; 9]; 9]> for Sudoku
[src]
fn from(matrix: SudokuMatrix) -> Self
[src]
impl Index<[usize; 2]> for Sudoku
[src]
type Output = u8
The returned type after indexing.
fn index(&self, coords: [usize; 2]) -> &Self::Output
[src]
impl IndexMut<[usize; 2]> for Sudoku
[src]
Auto Trait Implementations
impl RefUnwindSafe for Sudoku
impl Send for Sudoku
impl Sync for Sudoku
impl Unpin for Sudoku
impl UnwindSafe for Sudoku
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,