Files
big-c/src/modes/mod.rs
Aryadev Chavali 44d8e4eba0 modes:mod: Hand trait
Any hand from any round mode has a chance of footstooling another hand
from that same mode.  This trait (Hand) allows us to implement these
semantics (as well as any other shared semantics) for each round mode.
2026-04-05 04:45:51 +01:00

14 lines
209 B
Rust

mod pair;
mod single;
#[derive(Eq, Ord, PartialEq, PartialOrd, Debug, Copy, Clone)]
pub enum Footstool {
None,
Half,
Full,
}
pub trait Hand {
fn footstool(&self, other: Self) -> Footstool;
}