ux-dx 0.2.1

3D Graphics Primitives for Angular Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// All the possible mouse buttons that can be handled. Use Unknown to handle any platform-specific
/// buttons not supported here.

#[derive(Copy, Clone, Debug)]
pub enum MouseButton {
    Left,
    Middle,
    Right,

    /// Used if the environment sends an unknown button.
    Unknown {
        button_code: u32,
    },
}