Struct livesplit_core::Timer
[−]
[src]
pub struct Timer { /* fields omitted */ }
Methods
impl Timer
[src]
fn new(run: Run) -> Self
fn run(&self) -> &Run
fn current_phase(&self) -> TimerPhase
fn current_time(&self) -> Time
fn current_timing_method(&self) -> TimingMethod
fn set_current_timing_method(&mut self, method: TimingMethod)
fn current_comparison(&self) -> &str
fn current_split(&self) -> Option<&Segment>
fn current_split_index(&self) -> isize
fn split(&mut self)
fn skip_split(&mut self)
fn undo_split(&mut self)
fn reset(&mut self, update_splits: bool)
fn pause(&mut self)
fn switch_to_next_comparison(&mut self)
fn switch_to_previous_comparison(&mut self)
fn get_pause_time(&self) -> Option<TimeSpan>
fn is_game_time_initialized(&self) -> bool
fn initialize_game_time(&mut self)
fn uninitialize_game_time(&mut self)
fn is_game_time_paused(&self) -> bool
fn pause_game_time(&mut self)
fn unpause_game_time(&mut self)
fn set_game_time(&mut self, game_time: TimeSpan)
fn loading_times(&self) -> TimeSpan
fn set_loading_times(&mut self, time: TimeSpan)
Trait Implementations
impl Debug for Timer
[src]
impl Clone for Timer
[src]
fn clone(&self) -> Timer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more