pub struct TouchMove;Available on crate feature
event only.Expand description
Safe wrapper for adding event listeners for events of type “touchmove”.
Trait Implementations§
source§impl EventType for TouchMove
impl EventType for TouchMove
source§fn add_listener(&self, target: &EventTarget) -> Listener<Self::Data>
fn add_listener(&self, target: &EventTarget) -> Listener<Self::Data>
Adds event listeners to JS’s event targets, where events are of this
event type. This function is asynchronous and a future is returned. Read more
source§fn add_listener_with_sync_cb<F, T>(
&self,
target: &EventTarget,
callback: F
) -> Listener<T>where
F: FnMut(Self::Data) -> T + 'static,
T: 'static,
fn add_listener_with_sync_cb<F, T>( &self, target: &EventTarget, callback: F ) -> Listener<T>where F: FnMut(Self::Data) -> T + 'static, T: 'static,
Adds event listeners to JS’s event targets, where events are of this
event type, using synchronous event listeners. However, this function is
asynchronous and a future is returned. Read more
source§fn add_listener_with_async_cb<F, A>(
&self,
target: &EventTarget,
callback: F
) -> Listener<A::Output>where
F: FnMut(Self::Data) -> A + 'static,
A: Future + 'static,
fn add_listener_with_async_cb<F, A>( &self, target: &EventTarget, callback: F ) -> Listener<A::Output>where F: FnMut(Self::Data) -> A + 'static, A: Future + 'static,
Adds event listeners to JS’s event targets, where events are of this
event type, using asynchronous event listeners. This function is
asynchronous and a future is returned. Read more
impl Copy for TouchMove
Auto Trait Implementations§
impl RefUnwindSafe for TouchMove
impl Send for TouchMove
impl Sync for TouchMove
impl Unpin for TouchMove
impl UnwindSafe for TouchMove
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