Enum input_sys::libinput_tablet_tool_proximity_state [] [src]

#[repr(u32)]
pub enum libinput_tablet_tool_proximity_state { LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_OUT, LIBINPUT_TABLET_TOOL_PROXIMITY_STATE_IN, }

@ingroup device

The state of proximity for a tool on a device. The device must have the @ref LIBINPUT_DEVICE_CAP_TABLET_TOOL capability.

The proximity of a tool is a binary state signalling whether the tool is within a detectable distance of the tablet device. A tool that is out of proximity cannot generate events.

On some hardware a tool goes out of proximity when it ceases to touch the surface. On other hardware, the tool is still detectable within a short distance (a few cm) off the surface.

Variants

Trait Implementations

impl Debug for libinput_tablet_tool_proximity_state
[src]

Formats the value using the given formatter.

impl Copy for libinput_tablet_tool_proximity_state
[src]

impl Clone for libinput_tablet_tool_proximity_state
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for libinput_tablet_tool_proximity_state
[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 libinput_tablet_tool_proximity_state
[src]

impl Hash for libinput_tablet_tool_proximity_state
[src]

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

Feeds a slice of this type into the state provided.