mirror of
https://github.com/LukasKalbertodt/programmieren-in-rust.git
synced 2024-11-18 02:48:58 +01:00
Fix order of attributes
This commit is contained in:
parent
62166784c9
commit
7697341873
@ -8,11 +8,11 @@ pub enum Cell {
|
|||||||
Cross,
|
Cross,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Copy, Eq, PartialEq)]
|
|
||||||
/// Represents the index of one cell on the board.
|
/// Represents the index of one cell on the board.
|
||||||
///
|
///
|
||||||
/// They can be parsed from the string representation which looks like `"b1"`.
|
/// They can be parsed from the string representation which looks like `"b1"`.
|
||||||
/// The letter represents the column, the digit represents the row.
|
/// The letter represents the column, the digit represents the row.
|
||||||
|
#[derive(Clone, Copy, Eq, PartialEq)]
|
||||||
pub struct CellId {
|
pub struct CellId {
|
||||||
/// This index is row-major.
|
/// This index is row-major.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user