pub fn picture_saver(
area: [u32; 4],
path: PathBuf,
said: Arc<Mutex<Vec<Message>>>,
) -> impl FnMut(On<'_, '_, ScreenshotCaptured>) + use<>Expand description
What saves a screenshot of the window, cut to area (left, top, width, height in physical pixels: a plot), as the
PNG file path, for Screenshot’s observe; what it says (saved, or why not) goes into said.