#[repr(u32)]
pub enum MouseButton {
Show 37 variants NoButton, LeftButton, RightButton, MidButton, MiddleButton, BackButton, XButton1, ExtraButton1, ForwardButton, XButton2, ExtraButton2, TaskButton, ExtraButton3, ExtraButton4, ExtraButton5, ExtraButton6, ExtraButton7, ExtraButton8, ExtraButton9, ExtraButton10, ExtraButton11, ExtraButton12, ExtraButton13, ExtraButton14, ExtraButton15, ExtraButton16, ExtraButton17, ExtraButton18, ExtraButton19, ExtraButton20, ExtraButton21, ExtraButton22, ExtraButton23, ExtraButton24, AllButtons, MaxMouseButton, MouseButtonMask,
}

Variants

NoButton

LeftButton

RightButton

MidButton

MiddleButton

BackButton

XButton1

ExtraButton1

ForwardButton

XButton2

ExtraButton2

TaskButton

ExtraButton3

ExtraButton4

ExtraButton5

ExtraButton6

ExtraButton7

ExtraButton8

ExtraButton9

ExtraButton10

ExtraButton11

ExtraButton12

ExtraButton13

ExtraButton14

ExtraButton15

ExtraButton16

ExtraButton17

ExtraButton18

ExtraButton19

ExtraButton20

ExtraButton21

ExtraButton22

ExtraButton23

ExtraButton24

AllButtons

MaxMouseButton

MouseButtonMask

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.