pub fn clear_history(&mut self) {
        self.attempt_history.clear();
        for segment in &mut self.segments {
            segment.segment_history_mut().clear();
        }
    }
/// Clears out the Attempt History and the Segment Histories of all the segments.
Clears out the Attempt History and the Segment Histories of all the segments.
Clears out the Attempt History and the Segment Histories of all the segments .
pub fn clear_history(&mut self) {
        self.attempt_history.clear();
        for segment in &mut self.segments {
            segment.segment_history_mut().clear();
        }
    }
pub fn clear_history ( & mut self ) { self . attempt_history . clear ( ) ; for segment in & mut self . segments { segment . segment_history_mut ( ) . clear ( ) ; } }
Clears out the Attempt History and the Segment Histories of all the segments.
Clears out the Attempt History and the Segment Histories of all the segments .
&mut self
&mut self