Enum shakmaty::CastlingSide[][src]

pub enum CastlingSide {
    KingSide,
    QueenSide,
}

KingSide (O-O) or QueenSide (O-O-O).

Variants

Methods

impl CastlingSide
[src]

Trait Implementations

impl Copy for CastlingSide
[src]

impl Clone for CastlingSide
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for CastlingSide
[src]

impl PartialEq for CastlingSide
[src]

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

This method tests for !=.

impl Debug for CastlingSide
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations