Type Definition app_world::RenderFn[][src]

pub type RenderFn = Arc<Mutex<Box<dyn FnMut()>>>;
Expand description

A function that can trigger a re-render of the application.

In a browser application this might update the DOM. On iOS this might increment a @Published variable in SwiftUI.