Enum pointer_fusion::DeviceKind
source · pub enum DeviceKind {
Touch,
Mouse,
Stylus,
InvertedStylus,
Trackpad,
}
Variants§
Trait Implementations§
source§impl Clone for DeviceKind
impl Clone for DeviceKind
source§fn clone(&self) -> DeviceKind
fn clone(&self) -> DeviceKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeviceKind
impl Debug for DeviceKind
source§impl Default for DeviceKind
impl Default for DeviceKind
source§fn default() -> DeviceKind
fn default() -> DeviceKind
Returns the “default value” for a type. Read more
source§impl PartialEq<DeviceKind> for DeviceKind
impl PartialEq<DeviceKind> for DeviceKind
source§fn eq(&self, other: &DeviceKind) -> bool
fn eq(&self, other: &DeviceKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.