pub type ScreenshotFn = Box<dyn FnOnce(Image) + Sync + Send>;
struct ScreenshotFn(/* private fields */);