[][src]Function livesplit_core::analysis::state_helper::check_best_segment

pub fn check_best_segment(
    timer: &Timer,
    segment_index: usize,
    method: TimingMethod
) -> bool

Calculates whether or not the Split Times for the indicated split qualify as a Best Segment.

  • timer: The current timer.
  • segment_index: The split to check.
  • method: The timing method to use.

Returns whether or not the indicated split is a Best Segment.