Trait etterna::SimpleReplay [−][src]
Required methods
Loading content...Provided methods
fn longest_combo(&self, hit_filter: impl FnMut(Hit) -> bool) -> u32
[src]
Finds the longest combo of notes evaluating to true in the given closure
The note deviations passed into the closure are always positive. In case of a miss, the
closure call is skipped entirely and false
is inserted.
Example
Find the longest marvelous combo:
ⓘ
let longest_marvelous_combo = replay.longest_combo(|d| d.is_marv(etterna::J4));
fn tap_judgements(&self, judge: &Judge) -> TapJudgements
[src]
Generate a crate::TapJudgements
instance of this replay