pub enum PointerDevice {
Tablet,
Mouse,
}Expand description
Guest pointer device used by the native Aen console.
Variants§
Tablet
Absolute USB tablet coordinates, compatible with existing VM definitions.
Mouse
Relative USB mouse events, used with Aen pointer capture.
Trait Implementations§
Source§impl Clone for PointerDevice
impl Clone for PointerDevice
impl Copy for PointerDevice
Source§impl Debug for PointerDevice
impl Debug for PointerDevice
Source§impl Default for PointerDevice
impl Default for PointerDevice
Source§impl<'de> Deserialize<'de> for PointerDevice
impl<'de> Deserialize<'de> for PointerDevice
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
impl Eq for PointerDevice
Source§impl PartialEq for PointerDevice
impl PartialEq for PointerDevice
Source§impl Serialize for PointerDevice
impl Serialize for PointerDevice
impl StructuralPartialEq for PointerDevice
Auto Trait Implementations§
impl Forget for PointerDevice
impl Freeze for PointerDevice
impl Move for PointerDevice
impl RefUnwindSafe for PointerDevice
impl Send for PointerDevice
impl Sync for PointerDevice
impl Unpin for PointerDevice
impl UnsafeUnpin for PointerDevice
impl UnwindSafe for PointerDevice
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