FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IScreenshotHandler

    trait · ferroui-diagnostics · v0.5.0

    trait IScreenshotHandler
    

    Allowed to define custom handler for Shreeshot

    View source

    Members

    take

    fn take(self: &Self, control: &Ref<Control>) -> LocalBoxFuture<std::io::Result<()>>
    

    Handle the Screenshot

    C# Task Take(Control control): the future completes when the screenshot is taken; an error is what the task of the original faults with.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.