Function livesplit_core::state_helper::last_delta [] [src]

pub fn last_delta(
    run: &Run,
    split_number: usize,
    comparison: &str,
    method: TimingMethod
) -> Option<TimeSpan>

Gets the last non-live delta in the run starting from split_number.

run: The current run. split_number: 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.