Function etterna::rescore[][src]

pub fn rescore<S, W>(
    lanes: &[NoteAndHitSeconds; 4],
    num_mine_hits: u32,
    num_hold_drops: u32,
    judge: &Judge
) -> Wifescore where
    S: ScoringSystem,
    W: Wife

Calculates a wifescore from a list of notes per column and hits per column, plus the mine hits and hold drops. The wifescore algorithm and scoring algorithm used can be chosen via the generic parameters.

Prefer rescore_from_note_hits if all you need is a judge conversion.