#[repr(u8)]pub enum ClickType {
ButtonDown = 0,
ButtonUp = 1,
ButtonClick = 2,
ButtonSingleClick = 3,
ButtonDoubleClick = 4,
ButtonHold = 5,
}
Variants§
ButtonDown = 0
ButtonUp = 1
ButtonClick = 2
ButtonSingleClick = 3
ButtonDoubleClick = 4
ButtonHold = 5
Trait Implementations§
Source§impl TryFromPrimitive for ClickType
impl TryFromPrimitive for ClickType
impl Copy for ClickType
impl Eq for ClickType
impl StructuralPartialEq for ClickType
Auto Trait Implementations§
impl Freeze for ClickType
impl RefUnwindSafe for ClickType
impl Send for ClickType
impl Sync for ClickType
impl Unpin for ClickType
impl UnwindSafe for ClickType
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