Function iced::window::screenshot

source ·
pub fn screenshot<Message>(
    id: Id,
    f: impl FnOnce(Screenshot) -> Message + Send + 'static
) -> Command<Message>
Expand description

Captures a Screenshot from the window.