throbber-widgets-tui 0.11.0

This is a ratatui widget that displays throbber.
Documentation
pub mod throbber {
    /// A set of symbols to be rendered by throbber.
    #[derive(Debug, Clone, PartialEq, Eq)]
    pub struct Set {
        pub full: &'static str,
        pub empty: &'static str,
        pub symbols: &'static [&'static str],
    }

    /// Rendering object.
    ///
    /// If Spin is specified, ThrobberState.index is used.
    #[derive(Debug, Clone, PartialEq, Eq)]
    pub enum WhichUse {
        Full,
        Empty,
        Spin,
    }

    /// ["|", "/", "-", "\\"]
    pub const ASCII: Set = Set {
        full: "*",
        empty: " ",
        symbols: &["|", "/", "-", "\\"],
    };

    /// ["│", "╱", "─", "╲"]
    pub const BOX_DRAWING: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", ""],
    };

    /// ["↑", "↗", "→", "↘", "↓", "↙", "←", "↖"]
    pub const ARROW: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", "", "", ""],
    };

    /// ["⇑", "⇗", "⇒", "⇘", "⇓", "⇙", "⇐", "⇖"]
    pub const DOUBLE_ARROW: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", "", "", ""],
    };

    /// ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
    pub const VERTICAL_BLOCK: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", "", "", ""],
    };

    /// ["▏", "▎", "▍", "▌", "▋", "▊", "▉", "█"]
    pub const HORIZONTAL_BLOCK: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", "", "", ""],
    };

    /// ["▝", "▗", "▖", "▘"]
    pub const QUADRANT_BLOCK: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", ""],
    };

    /// ["▙", "▛", "▜", "▟"]
    pub const QUADRANT_BLOCK_CRACK: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", ""],
    };

    /// ["◳", "◲", "◱", "◰"]
    pub const WHITE_SQUARE: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", ""],
    };

    /// ["◷", "◶", "◵", "◴"]
    pub const WHITE_CIRCLE: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", ""],
    };

    /// ["◑", "◒", "◐", "◓"]
    pub const BLACK_CIRCLE: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", ""],
    };

    /// ["🕛", "🕧", "🕐", "🕜", "🕑", ..., "🕚", "🕦"]
    pub const CLOCK: Set = Set {
        full: "🕛",
        empty: " ",
        symbols: &[
            "🕛", "🕧", "🕐", "🕜", "🕑", "🕝", "🕒", "🕞", "🕓", "🕟", "🕔", "🕠", "🕕", "🕡",
            "🕖", "🕢", "🕗", "🕣", "🕘", "🕤", "🕙", "🕥", "🕚", "🕦",
        ],
    };

    /// ["⠈", "⠐", "⠠", "⠄", "⠂", "⠁"]
    pub const BRAILLE_ONE: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", ""],
    };

    /// ["⠘", "⠰", "⠤", "⠆", "⠃", "⠉"]
    pub const BRAILLE_DOUBLE: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", ""],
    };

    /// ["⠷", "⠯", "⠟", "⠻", "⠽", "⠾"]
    pub const BRAILLE_SIX: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", ""],
    };

    /// ["⠧", "⠏", "⠛", "⠹", "⠼", "⠶"]
    pub const BRAILLE_SIX_DOUBLE: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", ""],
    };

    /// ["⣷", "⣯", "⣟", "⡿", "⢿", "⣻", "⣽", "⣾"]
    pub const BRAILLE_EIGHT: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", "", "", ""],
    };

    /// ["⣧", "⣏", "⡟", "⠿", "⢻", "⣹", "⣼", "⣶"]
    pub const BRAILLE_EIGHT_DOUBLE: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", "", "", ""],
    };

    /// [" ", "ᚐ", "ᚑ", "ᚒ", "ᚓ", "ᚔ"]
    pub const OGHAM_A: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", ""],
    };

    /// [" ", "ᚁ", "ᚂ", "ᚃ", "ᚄ", "ᚅ"]
    pub const OGHAM_B: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", ""],
    };

    /// [" ", "ᚆ", "ᚇ", "ᚈ", "ᚉ", "ᚊ"]
    pub const OGHAM_C: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", ""],
    };

    /// ["⎛", "⎜", "⎝", "⎞", "⎟", "⎠"]
    pub const PARENTHESIS: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", "", "", ""],
    };

    /// ["ᔐ", "ᯇ", "ᔑ", "ᯇ"]
    pub const CANADIAN: Set = Set {
        full: "",
        empty: " ",
        symbols: &["", "", "", ""],
    };
}