pub type FrameHook<S> = Arc<dyn Fn(&mut S) -> bool + Send + Sync>;Expand description
Type alias for a per-frame hook callback.
Receives (&mut S) and returns true to request a redraw.
Aliased Typeยง
pub struct FrameHook<S> { /* private fields */ }