Enum egui::TouchPhase [−][src]
pub enum TouchPhase {
Start,
Move,
End,
Cancel,
}Variants
User just placed a touch point on the touch surface
User moves a touch point along the surface. This event is also sent when any attributes (position, force, …) of the touch point change.
User lifted the finger or pen from the surface, or slid off the edge of the surface
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
impl Clone for TouchPhase[src]
impl Clone for TouchPhase[src]fn clone(&self) -> TouchPhase[src]
fn clone(&self) -> TouchPhase[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for TouchPhase[src]
impl Debug for TouchPhase[src]impl PartialEq<TouchPhase> for TouchPhase[src]
impl PartialEq<TouchPhase> for TouchPhase[src]impl Copy for TouchPhase[src]
impl Eq for TouchPhase[src]
impl StructuralEq for TouchPhase[src]
impl StructuralPartialEq for TouchPhase[src]
Auto Trait Implementations
impl RefUnwindSafe for TouchPhase
impl Send for TouchPhase
impl Sync for TouchPhase
impl Unpin for TouchPhase
impl UnwindSafe for TouchPhase
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more