Struct pgn_reader::SanPlus [−][src]
Expand description
A San and possible check and checkmate suffixes.
Fields
san: Sansuffix: Option<Suffix>Implementations
Parses a SAN and possible check and checkmate suffix.
Errors
Returns ParseSanError if san is not syntactically valid.
Converts a move to Standard Algebraic Notation including possible check and checkmate suffixes. Also plays the move.
It is the callers responsibility to ensure the move is legal.
Panics
Illegal moves can corrupt the state of the position and may (or may not) panic or cause panics on future calls.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SanPlus
impl UnwindSafe for SanPlus
Blanket Implementations
Mutably borrows from an owned value. Read more