pub enum ModelerInputEventType {
Down,
Move,
Up,
}
Expand description
modeler Input event Type
Variants§
Down
For the first pen down event (pen touches the screen)
Move
For events between the first (Down
) and last (Up
) event (pen moving on the screen)
Up
For the last event (pen going up)
Trait Implementations§
source§impl Clone for ModelerInputEventType
impl Clone for ModelerInputEventType
source§fn clone(&self) -> ModelerInputEventType
fn clone(&self) -> ModelerInputEventType
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 ModelerInputEventType
impl Debug for ModelerInputEventType
source§impl Hash for ModelerInputEventType
impl Hash for ModelerInputEventType
source§impl Ord for ModelerInputEventType
impl Ord for ModelerInputEventType
source§fn cmp(&self, other: &ModelerInputEventType) -> Ordering
fn cmp(&self, other: &ModelerInputEventType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ModelerInputEventType
impl PartialEq for ModelerInputEventType
source§impl PartialOrd for ModelerInputEventType
impl PartialOrd for ModelerInputEventType
impl Copy for ModelerInputEventType
impl Eq for ModelerInputEventType
impl StructuralPartialEq for ModelerInputEventType
Auto Trait Implementations§
impl Freeze for ModelerInputEventType
impl RefUnwindSafe for ModelerInputEventType
impl Send for ModelerInputEventType
impl Sync for ModelerInputEventType
impl Unpin for ModelerInputEventType
impl UnwindSafe for ModelerInputEventType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)