[−][src]Trait myopic_board::Reflectable
Chess is a symmetric game and this trait represents a component of the game which can be reflected to it's symmetric opposite component.
Required methods
Loading content...Implementations on Foreign Types
impl<T> Reflectable for BTreeSet<T> where
T: Reflectable + Ord,
[src]
T: Reflectable + Ord,
impl<T> Reflectable for Vec<T, Global> where
T: Reflectable,
[src]
T: Reflectable,
impl<T1, T2, T3> Reflectable for (T1, T2, T3) where
T1: Reflectable,
T2: Reflectable,
T3: Reflectable,
[src]
T1: Reflectable,
T2: Reflectable,
T3: Reflectable,
impl Reflectable for i32
[src]
impl<T1, T2> Reflectable for (T1, T2) where
T1: Reflectable,
T2: Reflectable,
[src]
T1: Reflectable,
T2: Reflectable,
impl<T> Reflectable for Option<T> where
T: Reflectable,
[src]
Loading content...T: Reflectable,
Implementors
impl Reflectable for CastleZone
[src]
A castle is reflected by it's side, i.e.
- WK <==> BK
- WQ <==> BQ
pub fn reflect(&self) -> CastleZone
[src]
impl Reflectable for Dir
[src]
impl Reflectable for Move
[src]
impl Reflectable for Piece
[src]
We reflect a piece to it's correspondent on the opposite side.