pub enum Button {
Left,
Right,
Middle,
Back,
Forward,
Other(u16),
}
Expand description
The button of a mouse.
Variants§
Left
The left mouse button.
Right
The right mouse button.
Middle
The middle (wheel) button.
Back
The back mouse button.
Forward
The forward mouse button.
Other(u16)
Some other button.
Trait Implementations§
impl Copy for Button
impl Eq for Button
impl StructuralPartialEq for Button
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