Struct chess_move_gen::CastlingRights[][src]

pub struct CastlingRights(pub usize);

Represents the right to castle in a particular director for a particular side

Methods

impl CastlingRights
[src]

Trait Implementations

impl PartialEq for CastlingRights
[src]

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

This method tests for !=.

impl Copy for CastlingRights
[src]

impl Clone for CastlingRights
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for CastlingRights
[src]

Formats the value using the given formatter. Read more

impl Debug for CastlingRights
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations