/// Movement of a mouse wheel
#[derive(Debug, Copy, Clone)]pubstructWheelMovement{/// The number of horizontal lines scrolled
pubhorizontal:f32,
/// The number of vertical lines scrolled
pubvertical:f32,
}implWheelMovement{/// Creates a new WheelMovement
pubfnnew(horizontal:f32, vertical:f32)->Self{
WheelMovement {
horizontal,
vertical,}}}