pub trait MatchFunc {
fn score(&self, a: u8, b: u8) -> i32;
}
Expand description
Trait required to instantiate a Scoring instance
The trait Matchfunc is also implemented for Fn(u8, u8) -> i32 so that Scoring
can be instantiated using closures and custom user defined functions