Enum input::event::tablet_tool::TipState [] [src]

pub enum TipState {
    Up,
    Down,
}

The tip contact state for a tool on a device.

The tip contact state of a tool is a binary state signalling whether the tool is touching the surface of the tablet device.

Variants

Not touching the surface

Touching the surface

Trait Implementations

impl Debug for TipState
[src]

Formats the value using the given formatter.

impl Clone for TipState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TipState
[src]

impl PartialEq for TipState
[src]

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

This method tests for !=.

impl Eq for TipState
[src]

impl Hash for TipState
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.