#[repr(i32)]pub enum MouseCode {
Show 20 variants
Mouse1 = 0,
Mouse3 = 1,
Mouse2 = 2,
Mouse4 = 3,
Mouse5 = 4,
Mouse6 = 5,
Mouse7 = 6,
Mouse8 = 7,
Mouse9 = 8,
Mouse10 = 9,
Mouse11 = 10,
Mouse12 = 11,
Mouse13 = 12,
Mouse14 = 13,
Mouse15 = 14,
Mouse16 = 15,
Mouse17 = 16,
Mouse18 = 17,
Mouse19 = 18,
Mouse20 = 19,
}
Expand description
Custom mouse codes.
Variants§
Mouse1 = 0
Mouse3 = 1
Mouse2 = 2
Mouse4 = 3
Mouse5 = 4
Mouse6 = 5
Mouse7 = 6
Mouse8 = 7
Mouse9 = 8
Mouse10 = 9
Mouse11 = 10
Mouse12 = 11
Mouse13 = 12
Mouse14 = 13
Mouse15 = 14
Mouse16 = 15
Mouse17 = 16
Mouse18 = 17
Mouse19 = 18
Mouse20 = 19
Trait Implementations§
source§impl<'de> Deserialize<'de> for MouseCode
impl<'de> Deserialize<'de> for MouseCode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl IntoEnumIterator for MouseCode
impl IntoEnumIterator for MouseCode
type Iterator = MouseCodeIter
fn iter() -> MouseCodeIter ⓘ
source§impl Ord for MouseCode
impl Ord for MouseCode
source§impl PartialOrd for MouseCode
impl PartialOrd for MouseCode
impl Copy for MouseCode
impl Eq for MouseCode
impl StructuralPartialEq for MouseCode
Auto Trait Implementations§
impl Freeze for MouseCode
impl RefUnwindSafe for MouseCode
impl Send for MouseCode
impl Sync for MouseCode
impl Unpin for MouseCode
impl UnwindSafe for MouseCode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)