FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    VisualExtensions

    trait · ferroui-diagnostics · v0.5.0

    trait VisualExtensions
    

    Extension methods of controls for DevTools.

    View source

    Members

    render_to

    fn render_to(self: &Self, destination: &mut dyn Write) -> std::io::Result<()>
    

    Render control to the destination stream, at 96 DPI.

    Source

    render_to_with_dpi

    fn render_to_with_dpi(self: &Self, destination: &mut dyn Write, dpi: f64) -> std::io::Result<()>
    

    Render control to the destination stream.

    destination is the destination stream; dpi the dpi quality. An error is what writing the image to the stream fails with.

    Source

    Trait implementations

    Availability

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