pub type FrameHook<S> = Arc<dyn Fn(&mut S) -> bool + Send + Sync>;
pub struct FrameHook<S> { /* private fields */ }