Skip to main content

tm1637_embedded_hal/options/scroll/
direction.rs

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