Function etternaonline_api::rescore [−][src]
pub fn rescore<S, W>(
replay: &Replay,
num_hit_mines: u32,
num_dropped_holds: u32,
judge: &Judge
) -> Option<Wifescore> where
S: ScoringSystem,
W: Wife,
This only works with 4k replays at the moment! All notes beyond the first four columns are discarded
If the replay doesn’t have sufficient information, None is returned (see
Replay::split_into_lanes
)
Panics if the replay contains NaN