Skip to main content

screenshot

Function screenshot 

Source
pub fn screenshot(
    directory: &Path,
    screenshot_type: ScreenshotType,
    date: DateTime<Local>,
) -> PathBuf