games-rs 0.5.0

Pre-implemented games written in rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Color Codes used for cards

/// Colors
#[repr(C)]
#[derive(
    Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, serde::Serialize, serde::Deserialize, Hash,
)]
pub enum Color {
    /// Black
    Black,
    /// Red
    Red,
}