Wire up events and fix synthetic dragging

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Nathan Sobo
2021-03-21 09:44:14 -06:00
co-authored by Antonio Scandurra
parent 04665800c0
commit 0c59937a65
4 changed files with 74 additions and 43 deletions
+1
View File
@@ -17,6 +17,7 @@ pub enum Foreground {
Test(smol::LocalExecutor<'static>),
}
#[must_use]
#[pin_project(project = ForegroundTaskProject)]
pub enum ForegroundTask<T> {
Platform(#[pin] async_task::Task<T>),