pub enum Button {
Primary,
Secondary,
Middle,
Back,
Forward,
}Expand description
A pointer button, by its logical role: the system swaps primary and secondary for a left hand, and the application never sees it.
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for Button
impl Ord for Button
Source§impl PartialOrd for Button
impl PartialOrd for Button
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 UnsafeUnpin 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