#[repr(u8)]pub enum PointerType {
Mouse = 0,
Pen = 1,
Touch = 2,
}Expand description
W3C pointerType (NV_POINTER_TYPE_*; try_from_u8 rejects unknown codes).
Variants§
Implementations§
Source§impl PointerType
impl PointerType
Source§impl PointerType
impl PointerType
Trait Implementations§
Source§impl Clone for PointerType
impl Clone for PointerType
impl Copy for PointerType
Source§impl Debug for PointerType
impl Debug for PointerType
Source§impl Default for PointerType
impl Default for PointerType
impl Eq for PointerType
Source§impl Hash for PointerType
impl Hash for PointerType
Source§impl PartialEq for PointerType
impl PartialEq for PointerType
impl StructuralPartialEq for PointerType
Auto Trait Implementations§
impl Forget for PointerType
impl Freeze for PointerType
impl Move for PointerType
impl RefUnwindSafe for PointerType
impl Send for PointerType
impl Sync for PointerType
impl Unpin for PointerType
impl UnsafeUnpin for PointerType
impl UnwindSafe for PointerType
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