Lines Matching refs:Suit
23 suit: Suit,
27 enum Suit {
52 Suit suit;
56 enum class Suit : uint8_t {
71 pub struct Suit {
75 impl Suit {
76 pub const Clubs: Self = Suit { repr: 0 };
77 pub const Diamonds: Self = Suit { repr: 1 };
78 pub const Hearts: Self = Suit { repr: 2 };
79 pub const Spades: Self = Suit { repr: 3 };
92 let suit: Suit = /*...*/;
94 Suit::Clubs => ...,
95 Suit::Diamonds => ...,
96 Suit::Hearts => ...,
97 Suit::Spades => ...,