pub fn live_segment_delta(
    timer: &Snapshot<'_>,
    segment_index: usize,
    comparison: &str,
    method: TimingMethod,
) -> Option<TimeSpan> {
    segment_delta(
        timer.run(),
        segment_index,
        timer.current_time()[method]?,
        comparison,
        method,
    )
}
/// Gets the amount of time lost or gained on a certain split, using the live
/// segment delta if the split is not completed yet.
///
/// - `timer`: The current timer.
/// - `segment_index`: The index of the split for which the delta is calculated.
/// - `comparison`: The comparison that you are comparing with.
/// - `method`: The timing method that you are using.
///
/// Returns the segment delta for a certain split, returning the live segment
/// delta if the split is not completed yet.
Gets the amount of time lost or gained on a certain split, using the live
segment delta if the split is not completed yet.

`timer`: The current timer.
`segment_index`: The index of the split for which the delta is calculated.
`comparison`: The comparison that you are comparing with.
`method`: The timing method that you are using.

Returns the segment delta for a certain split, returning the live segment
delta if the split is not completed yet.
Gets the amount of time lost or gained on a certain split using the live segment delta if the split is not completed yet . ` timer ` : The current timer . ` segment_index ` : The index of the split for which the delta is calculated . ` comparison ` : The comparison that you are comparing with . ` method ` : The timing method that you are using . Returns the segment delta for a certain split returning the live segment delta if the split is not completed yet .
pub fn live_segment_delta(
    timer: &Snapshot<'_>,
    segment_index: usize,
    comparison: &str,
    method: TimingMethod,
) -> Option<TimeSpan> {
    segment_delta(
        timer.run(),
        segment_index,
        timer.current_time()[method]?,
        comparison,
        method,
    )
}
pub fn live_segment_delta ( timer : & Snapshot < ' _ > , segment_index : usize , comparison : & str , method : TimingMethod , ) -> Option < TimeSpan > { segment_delta ( timer . run ( ) , segment_index , timer . current_time ( ) [ method ] ? , comparison , method , ) }
Gets the amount of time lost or gained on a certain split, using the live
segment delta if the split is not completed yet.
Gets the amount of time lost or gained on a certain split using the live segment delta if the split is not completed yet .
timer
&Snapshot<'_>
segment_index
usize
comparison
&str
method
TimingMethod
timer
&Snapshot<'_>
segment_index
usize
comparison
&str
method
TimingMethod