create dioxus handler for TUI
This commit is contained in:
1 parent
a2236df773
commit
4ee8b8b676
6 files changed
+117
-145
No files matched your search
@@ -38,5 +38,5 @@ pub type SendAnyMap = anymap::Map<dyn Any + Send + Sync + 'static>;
|
||||
pub trait Renderer<E, V: FromAnyValue + Send + Sync = ()> {
|
||||
fn render(&mut self, root: NodeMut<V>);
|
||||
fn handle_event(&mut self, node: NodeMut<V>, event: &str, value: E, bubbles: bool);
|
||||
fn poll_async(&mut self) -> Pin<Box<dyn Future<Output = ()> + Send>>;
|
||||
fn poll_async(&mut self) -> Pin<Box<dyn Future<Output = ()> + '_>>;
|
||||
}
|
||||
Reference in new issue
Block a user