Enum sudoku_variants::error::SudokuError [−][src]
Miscellaneous errors that can occur on some methods in the root module. This does not exclude errors that occur when parsing Sudoku, see SudokuParseError for that.
Variants
Indicates that the dimensions specified for a created Sudoku are invalid. This is the case if they are less than 1.
Indicates that some number is invalid for the size of the grid in question. This is the case if it is less than 1 or greater than the size.
Indicates that the specified coordinates (column and row) lie outside the Sudoku grid in question. This is the case if they are greater than or equal to the size.
An error that is raised whenever it is attempted to generate a Sudoku with a constraint that is not satisfied by any Sudoku with the given parameters.
Trait Implementations
impl Debug for SudokuError
[src]
impl Eq for SudokuError
[src]
impl PartialEq<SudokuError> for SudokuError
[src]
fn eq(&self, other: &SudokuError) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SudokuError
[src]
impl StructuralPartialEq for SudokuError
[src]
Auto Trait Implementations
impl RefUnwindSafe for SudokuError
impl Send for SudokuError
impl Sync for SudokuError
impl Unpin for SudokuError
impl UnwindSafe for SudokuError
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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.
pub 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>,