Enum winit::event::MouseButton [−][src]
pub enum MouseButton {
Left,
Right,
Middle,
Other(u16),
}
Expand description
Describes a button of a mouse controller.
Variants
Left
Right
Middle
Other(u16)
Tuple Fields
0: u16
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MouseButton
impl Send for MouseButton
impl Sync for MouseButton
impl Unpin for MouseButton
impl UnwindSafe for MouseButton
Blanket Implementations
Mutably borrows from an owned value. Read more