Enum sudoku::parse_errors::LineFormatParseError
[−]
[src]
pub enum LineFormatParseError { InvalidEntry(PubEntry), NotEnoughCells(u8), TooManyCells, MissingCommentDelimiter, }
A structure representing an error caused when parsing the sudoku
Variants
InvalidEntry(PubEntry)
Accepted values are numbers 1...9 and '0', '.' or '_' for empty cells
NotEnoughCells(u8)
Returns number of cells supplied
TooManyCells
Returned if >=82 valid cell positions are supplied
MissingCommentDelimiter
Comments must be delimited by a space or tab.
Trait Implementations
impl Clone for LineFormatParseError
[src]
fn clone(&self) -> LineFormatParseError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for LineFormatParseError
[src]
impl Eq for LineFormatParseError
[src]
impl Hash for LineFormatParseError
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for LineFormatParseError
[src]
fn eq(&self, __arg_0: &LineFormatParseError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LineFormatParseError) -> bool
[src]
This method tests for !=
.