#[repr(u16)]pub enum PointerType {
Mouse = 1,
Touch = 2,
Pen = 3,
}Variants§
Trait Implementations§
Source§impl Clone for PointerType
impl Clone for PointerType
impl Copy for PointerType
Source§impl Debug for PointerType
impl Debug for PointerType
impl Eq for PointerType
Source§impl From<PointerType> for u16
impl From<PointerType> for u16
Source§fn from(value: PointerType) -> Self
fn from(value: PointerType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PointerType
impl PartialEq for PointerType
impl StructuralPartialEq for PointerType
Auto Trait Implementations§
impl Freeze 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