Enum egui::TouchPhase
source · pub enum TouchPhase {
Start,
Move,
End,
Cancel,
}
Expand description
In what phase a touch event is in.
Variants§
Start
User just placed a touch point on the touch surface
Move
User moves a touch point along the surface. This event is also sent when any attributes (position, force, …) of the touch point change.
End
User lifted the finger or pen from the surface, or slid off the edge of the surface
Cancel
Touch operation has been disrupted by something (various reasons are possible, maybe a pop-up alert or any other kind of interruption which may not have been intended by the user)
Trait Implementations§
source§impl Clone for TouchPhase
impl Clone for TouchPhase
source§fn clone(&self) -> TouchPhase
fn clone(&self) -> TouchPhase
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TouchPhase
impl Debug for TouchPhase
source§impl<'de> Deserialize<'de> for TouchPhase
impl<'de> Deserialize<'de> for TouchPhase
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more