pub enum MouseButton {
Left,
Middle,
Right,
Back,
Forward,
}Expand description
A mouse button used by held pointer input methods.
Variants§
Left
Primary (usually left) mouse button.
Middle
Auxiliary (usually middle) mouse button.
Right
Secondary (usually right) mouse button.
Back
Browser-back mouse button.
Forward
Browser-forward mouse button.
Trait Implementations§
Source§impl Clone for MouseButton
impl Clone for MouseButton
impl Copy for MouseButton
Source§impl Debug for MouseButton
impl Debug for MouseButton
impl Eq for MouseButton
Source§impl Hash for MouseButton
impl Hash for MouseButton
Source§impl PartialEq for MouseButton
impl PartialEq for MouseButton
impl StructuralPartialEq for MouseButton
Auto Trait Implementations§
impl Freeze for MouseButton
impl RefUnwindSafe for MouseButton
impl Send for MouseButton
impl Sync for MouseButton
impl Unpin for MouseButton
impl UnsafeUnpin for MouseButton
impl UnwindSafe for MouseButton
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