Struct shakmaty::san::SanPlus [] [src]

pub struct SanPlus {
    pub san: San,
    pub check: bool,
    pub checkmate: bool,
}

A San and possible check and checkmate suffixes.

Fields

Methods

impl SanPlus
[src]

[src]

Parses a SAN and possible check and checkmate suffix.

Errors

Returns InvalidSan if san is not syntactically valid.

Trait Implementations

impl Debug for SanPlus
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for SanPlus
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for SanPlus
[src]

impl Clone for SanPlus
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl FromStr for SanPlus
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

impl Display for SanPlus
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SanPlus

impl Sync for SanPlus