screenshot_with_options

Function screenshot_with_options 

Source
pub async fn screenshot_with_options(
    output_path: &str,
    region: Option<(u32, u32, u32, u32)>,
    display: Option<u32>,
    options: ScreenshotReturnOptions,
) -> Result<String>
Expand description

Capture a screenshot asynchronously with configurable return options.