livesplit-core 0.13.0

livesplit-core is a library that provides a lot of functionality for creating a speedrun timer.
Documentation
use serde::{Deserialize, Serialize};

/// A Digits Format describes how many digits of a time to always shown. The
/// times are prefixed by zeros to fill up the remaining digits.
#[derive(Debug, PartialEq, Eq, Copy, Clone, Serialize, Deserialize)]
pub enum DigitsFormat {
    /// `1`
    SingleDigitSeconds,
    /// `01`
    DoubleDigitSeconds,
    /// `0:01`
    SingleDigitMinutes,
    /// `00:01`
    DoubleDigitMinutes,
    /// `0:00:01`
    SingleDigitHours,
    /// `00:00:01`
    DoubleDigitHours,
}