Enum input_sys::libinput_tablet_tool_tip_state
[−]
[src]
#[repr(u32)]pub enum libinput_tablet_tool_tip_state { LIBINPUT_TABLET_TOOL_TIP_UP, LIBINPUT_TABLET_TOOL_TIP_DOWN, }
@ingroup device
The tip contact state for a tool on a device. The device must have the @ref LIBINPUT_DEVICE_CAP_TABLET_TOOL capability.
The tip contact state of a tool is a binary state signalling whether the tool is touching the surface of the tablet device.
Variants
LIBINPUT_TABLET_TOOL_TIP_UPLIBINPUT_TABLET_TOOL_TIP_DOWNTrait Implementations
impl Debug for libinput_tablet_tool_tip_state[src]
impl Copy for libinput_tablet_tool_tip_state[src]
impl Clone for libinput_tablet_tool_tip_state[src]
fn clone(&self) -> libinput_tablet_tool_tip_state
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for libinput_tablet_tool_tip_state[src]
fn eq(&self, __arg_0: &libinput_tablet_tool_tip_state) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for libinput_tablet_tool_tip_state[src]
impl Hash for libinput_tablet_tool_tip_state[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.