[−][src]Function livesplit_core::analysis::state_helper::last_delta
pub fn last_delta(
run: &Run,
segment_index: usize,
comparison: &str,
method: TimingMethod
) -> Option<TimeSpan>
Gets the last non-live delta in the run starting from segment_index
.
run
: The current run.segment_index
: The split number to start checking deltas from.comparison
: The comparison that you are comparing with.method
: The timing method that you are using.
Returns the last non-live delta or None if there have been no deltas yet.