[−][src]Function cetkaik_yhuap_move_candidates::to_absolute_coord
#[must_use]pub fn to_absolute_coord(coord: [usize; 2], p: Perspective) -> (Row, Column)
Converts relative::Coord
into absolute::Coord
Examples
use cetkaik_core::*; use cetkaik_core::perspective::*; assert_eq!( to_absolute_coord([2, 4], Perspective::IaIsDownAndPointsUpward), (absolute::Row::I, absolute::Column::Z) )