Trait backgammon::rules::Roll

source ·
pub trait Roll {
    // Required method
    fn roll(&mut self) -> Result<&mut Self, Error>;
}
Expand description

Trait to roll the dices

Required Methods§

source

fn roll(&mut self) -> Result<&mut Self, Error>

Roll the dices

Implementors§