pub fn request_window_debug_capture(
window_id: WindowId,
request: DebugCaptureRequest,
wake: Option<AsyncWakeToken>,
) -> DebugCaptureTicketExpand description
Ask for a capture of window_id after its next redraw. When it is done,
wake (if any) is delivered to the widget that registered it; collect the
artifact with take_window_debug_capture.