MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / MouseButton

Enum MouseButton

src/input/mouse.rs:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
4pub enum MouseButton {
5 Left,
6 Middle,
7 Right,
8 X1,
9 X2,
10}
11
12impl MouseButton {
13 pub(crate) fn from_raw(raw: i32) -> Option<MouseButton> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected