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
UpNot touching the surface
DownTouching the surface
Trait Implementations
impl Debug for TipState[src]
impl Clone for TipState[src]
fn clone(&self) -> TipState
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 Copy for TipState[src]
impl PartialEq for TipState[src]
fn eq(&self, __arg_0: &TipState) -> 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 TipState[src]
impl Hash for TipState[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.