Experiment with call syntax only working for copy types
This commit is contained in:
19 files changed
+52
-76
No files matched your search
@@ -12,7 +12,7 @@ fn app() -> Element {
|
||||
|
||||
use_future(move || async move {
|
||||
let mut focused = 0;
|
||||
if *running() {
|
||||
if running() {
|
||||
loop {
|
||||
tokio::time::sleep(std::time::Duration::from_millis(10)).await;
|
||||
if let Some(element) = elements.with(|f| f.get(focused).cloned()) {
|
||||
|
||||
Reference in new issue
Block a user