notan_core 0.14.0

Basic types and structs used in Notan
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Represents a button of a mouse
#[derive(Clone, Copy, Hash, Debug, Eq, PartialEq, Ord, PartialOrd)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub enum MouseButton {
    Left,
    Right,
    Middle,
    Back,
    Forward,
    Other(u16),
}