pub enum ButtonKind {
Key,
Mouse,
}
Expand description
Indicates whether the button is on the keyboard or mouse.
Variants§
Trait Implementations§
Source§impl Clone for ButtonKind
impl Clone for ButtonKind
Source§fn clone(&self) -> ButtonKind
fn clone(&self) -> ButtonKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ButtonKind
impl Debug for ButtonKind
Source§impl Hash for ButtonKind
impl Hash for ButtonKind
Source§impl PartialEq for ButtonKind
impl PartialEq for ButtonKind
impl Copy for ButtonKind
impl Eq for ButtonKind
impl StructuralPartialEq for ButtonKind
Auto Trait Implementations§
impl Freeze for ButtonKind
impl RefUnwindSafe for ButtonKind
impl Send for ButtonKind
impl Sync for ButtonKind
impl Unpin for ButtonKind
impl UnwindSafe for ButtonKind
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