pub enum FenError<'a> {
NotEnoughParts,
BadPlacement(&'a str),
TooManyPieces(&'a str),
UnknownPiece(char),
NoSuchSide(&'a str),
BadEnPassant(&'a str),
BadHalfmove(&'a str),
BadFullmove(&'a str),
}
Variants
NotEnoughParts
BadPlacement(&'a str)
TooManyPieces(&'a str)
UnknownPiece(char)
NoSuchSide(&'a str)
BadEnPassant(&'a str)
BadHalfmove(&'a str)
BadFullmove(&'a str)
Trait Implementations
Formats the value using the given formatter.
fn eq(&self, __arg_0: &FenError<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FenError<'a>) -> bool
This method tests for !=
.