pub fn clear_times(&mut self) {
        self.clear_history();
        self.custom_comparisons.retain(|c| c == personal_best::NAME);
        for segment in &mut self.segments {
            segment.comparisons_mut().clear();
            segment.set_best_segment_time(Time::default());
        }
        self.attempt_count = 0;
        self.clear_run_id();
    }
/// Clears out the Attempt History, the Segment Histories, all the times,
/// sets the Attempt Count to 0 and clears the speedrun.com run id
/// association. All Custom Comparisons other than `Personal Best` are
/// deleted as well.
Clears out the Attempt History, the Segment Histories, all the times,
sets the Attempt Count to 0 and clears the speedrun.com run id
association. All Custom Comparisons other than `Personal Best` are
deleted as well.
Clears out the Attempt History the Segment Histories all the times sets the Attempt Count to 0 and clears the speedrun . com run id association . All Custom Comparisons other than ` Personal Best ` are deleted as well .
pub fn clear_times(&mut self) {
        self.clear_history();
        self.custom_comparisons.retain(|c| c == personal_best::NAME);
        for segment in &mut self.segments {
            segment.comparisons_mut().clear();
            segment.set_best_segment_time(Time::default());
        }
        self.attempt_count = 0;
        self.clear_run_id();
    }
pub fn clear_times ( & mut self ) { self . clear_history ( ) ; self . custom_comparisons . retain ( | c | c == personal_best :: NAME ) ; for segment in & mut self . segments { segment . comparisons_mut ( ) . clear ( ) ; segment . set_best_segment_time ( Time :: default ( ) ) ; } self . attempt_count = 0 ; self . clear_run_id ( ) ; }
Clears out the Attempt History, the Segment Histories, all the times,
sets the Attempt Count to 0 and clears the speedrun.com run id
association.
Clears out the Attempt History the Segment Histories all the times sets the Attempt Count to 0 and clears the speedrun . com run id association .
&mut self
&mut self