Struct livesplit_core::Timer
[−]
[src]
pub struct Timer { /* fields omitted */ }
pub struct Timer { /* fields omitted */ }
impl Timer
[src]fn new(run: Run) -> Result<Self, CreationError>
[src]fn replace_run(&mut self, run: Run, update_splits: bool) -> Result<Run, Run>
[src]fn set_run(&mut self, run: Run) -> Result<(), Run>
[src]fn run(&self) -> &Run
[src]fn current_phase(&self) -> TimerPhase
[src]fn current_time(&self) -> Time
[src]fn current_timing_method(&self) -> TimingMethod
[src]fn set_current_timing_method(&mut self, method: TimingMethod)
[src]fn current_comparison(&self) -> &str
[src]fn current_split(&self) -> Option<&Segment>
[src]fn current_split_index(&self) -> isize
[src]fn start(&mut self)
[src]fn split(&mut self)
[src]fn split_or_start(&mut self)
[src]fn skip_split(&mut self)
[src]fn undo_split(&mut self)
[src]fn reset(&mut self, update_splits: bool)
[src]fn pause(&mut self)
[src]fn resume(&mut self)
[src]fn toggle_pause(&mut self)
[src]fn toggle_pause_or_start(&mut self)
[src]fn undo_all_pauses(&mut self)
[src]fn switch_to_next_comparison(&mut self)
[src]fn switch_to_previous_comparison(&mut self)
[src]fn current_attempt_duration(&self) -> TimeSpan
[src]fn get_pause_time(&self) -> Option<TimeSpan>
[src]fn is_game_time_initialized(&self) -> bool
[src]fn initialize_game_time(&mut self)
[src]fn uninitialize_game_time(&mut self)
[src]fn is_game_time_paused(&self) -> bool
[src]fn pause_game_time(&mut self)
[src]fn unpause_game_time(&mut self)
[src]fn set_game_time(&mut self, game_time: TimeSpan)
[src]fn loading_times(&self) -> TimeSpan
[src]fn set_loading_times(&mut self, time: TimeSpan)
[src]impl TotalPlaytime for Timer
[src]fn total_playtime(&self) -> TimeSpan
[src]impl Debug for Timer
[src]impl Clone for Timer
[src]