Enum input::DeviceCapability [] [src]

pub enum DeviceCapability {
    Keyboard,
    Pointer,
    Touch,
    TabletTool,
    TabletPad,
    Gesture,
    Switch,
}

Capabilities on a device.

A device may have one or more capabilities at a time, capabilities remain static for the lifetime of the device.

Variants

Keyboard capability

Pointer capability

Touch capability

TabletTool capability

TabletPad capability

Gesture capability

Switch capability

Trait Implementations

impl Debug for DeviceCapability
[src]

[src]

Formats the value using the given formatter.

impl Copy for DeviceCapability
[src]

impl Clone for DeviceCapability
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DeviceCapability
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for DeviceCapability
[src]

impl Hash for DeviceCapability
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more