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