pub enum Button {
Left,
Right,
Middle,
Extra(u8),
}
Expand description
§An enumeration of the mouse buttons.
The Component struct is not documented yet. Pull requests are welcome.
Variants§
Left
The left button
Right
The right button
Middle
The middle button (usually is the wheel itself)
Extra(u8)
The extra buttons (variadic, usually on the side of the mouse)
Auto Trait Implementations§
impl Freeze for Button
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more