Enum makepad_widgets::view::ViewAction
source · pub enum ViewAction {
None,
FingerDown(FingerDownEvent),
FingerUp(FingerUpEvent),
FingerMove(FingerMoveEvent),
KeyDown(KeyEvent),
KeyUp(KeyEvent),
}Variants§
None
FingerDown(FingerDownEvent)
FingerUp(FingerUpEvent)
FingerMove(FingerMoveEvent)
KeyDown(KeyEvent)
KeyUp(KeyEvent)
Trait Implementations§
source§impl Clone for ViewAction
impl Clone for ViewAction
source§fn clone(&self) -> ViewAction
fn clone(&self) -> ViewAction
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 Default for ViewAction
impl Default for ViewAction
source§impl Into<Box<dyn WidgetAction, Global>> for ViewAction
impl Into<Box<dyn WidgetAction, Global>> for ViewAction
source§fn into(self) -> Box<dyn WidgetAction>
fn into(self) -> Box<dyn WidgetAction>
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for ViewAction
impl Send for ViewAction
impl Sync for ViewAction
impl Unpin for ViewAction
impl UnwindSafe for ViewAction
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