Struct pgn_reader::SanPlus
source · Expand description
A San and possible check and checkmate suffixes.
Fields
san: Sancheck: boolcheckmate: boolImplementations
sourceimpl SanPlus
impl SanPlus
sourcepub fn from_ascii(san: &[u8]) -> Result<SanPlus, ParseSanError>
pub fn from_ascii(san: &[u8]) -> Result<SanPlus, ParseSanError>
Parses a SAN and possible check and checkmate suffix.
Errors
Returns ParseSanError if san is not syntactically valid.
Trait Implementations
sourceimpl FromStr for SanPlus
impl FromStr for SanPlus
type Err = ParseSanError
type Err = ParseSanError
The associated error which can be returned from parsing.
impl Eq for SanPlus
impl StructuralEq for SanPlus
impl StructuralPartialEq for SanPlus
Auto Trait Implementations
impl RefUnwindSafe for SanPlus
impl Send for SanPlus
impl Sync for SanPlus
impl Unpin for SanPlus
impl UnwindSafe for SanPlus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more