tm1637_embedded_hal/options/scroll/
direction.rs

1
2
3
4
5
6
7
8
9
10
/// Direction for scrolling bytes.
#[derive(Debug, Default, Clone, Copy)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum ScrollDirection {
    /// Move bytes from left to right.
    #[default]
    LeftToRight,
    /// Move bytes from right to left.
    RightToLeft,
}