1 2 3 4 5 6 7 8 9 10
use serde::{Deserialize, Serialize}; /// Scroll direction for scroll operations. #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)] pub enum ScrollDirection { Up, Down, Left, Right, }