Enum chess_pgn_parser::Square []

pub enum Square {
    A1,
    A2,
    A3,
    A4,
    A5,
    A6,
    A7,
    A8,
    AX,
    B1,
    B2,
    B3,
    B4,
    B5,
    B6,
    B7,
    B8,
    BX,
    C1,
    C2,
    C3,
    C4,
    C5,
    C6,
    C7,
    C8,
    CX,
    D1,
    D2,
    D3,
    D4,
    D5,
    D6,
    D7,
    D8,
    DX,
    E1,
    E2,
    E3,
    E4,
    E5,
    E6,
    E7,
    E8,
    EX,
    F1,
    F2,
    F3,
    F4,
    F5,
    F6,
    F7,
    F8,
    FX,
    G1,
    G2,
    G3,
    G4,
    G5,
    G6,
    G7,
    G8,
    GX,
    H1,
    H2,
    H3,
    H4,
    H5,
    H6,
    H7,
    H8,
    HX,
    X1,
    X2,
    X3,
    X4,
    X5,
    X6,
    X7,
    X8,
    XX,
}

Variants

Methods

impl Square
[src]

Trait Implementations

impl PartialEq for Square
[src]

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

This method tests for !=.

impl Eq for Square
[src]

impl Debug for Square
[src]

Formats the value using the given formatter.

impl Clone for Square
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl FromPrimitive for Square

Convert an i64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an u64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an isize to return an optional value of this type. If the value cannot be represented by this value, the None is returned. Read more

Convert an i8 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an i16 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an i32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert a usize to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an u8 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an u16 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert an u32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert a f32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

Convert a f64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more