pub enum PointerButton {
Left,
Right,
Middle,
}Expand description
A pointer button.
Variants§
Left
The primary button; it runs on_click.
Right
The secondary button; it runs on_right_click.
Middle
The middle button; it runs on_middle_click.
Trait Implementations§
Source§impl Clone for PointerButton
impl Clone for PointerButton
impl Copy for PointerButton
Source§impl Debug for PointerButton
impl Debug for PointerButton
impl Eq for PointerButton
Source§impl PartialEq for PointerButton
impl PartialEq for PointerButton
impl StructuralPartialEq for PointerButton
Auto Trait Implementations§
impl Forget for PointerButton
impl Freeze for PointerButton
impl Move for PointerButton
impl RefUnwindSafe for PointerButton
impl Send for PointerButton
impl Sync for PointerButton
impl Unpin for PointerButton
impl UnsafeUnpin for PointerButton
impl UnwindSafe for PointerButton
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