VisualExtensions
trait · ferroui-diagnostics · v0.5.0
trait VisualExtensions
Extension methods of controls for DevTools.
Members
render_to
fn render_to(self: &Self, destination: &mut dyn Write) -> std::io::Result<()>
Render control to the destination stream, at 96 DPI.
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.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.