pub enum ParseError {
UnequalDimensions,
LargeValue(u8, Point),
NonSquareAxis,
}
Expand description
Represents a deserialization error.
Variants§
UnequalDimensions
Represents a grid with differing width and height.
LargeValue(u8, Point)
Represents the presence of a value too large for the puzzle’s dimensions.
The associated values are the large value and its would-be location in the puzzle.
NonSquareAxis
Represents a grid with a non-perfect-square axial length.
Trait Implementations§
Source§impl Clone for ParseError
impl Clone for ParseError
Source§fn clone(&self) -> ParseError
fn clone(&self) -> ParseError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParseError
impl Debug for ParseError
impl Copy for ParseError
Auto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
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