[−][src]Trait iced_native::widget::image::Renderer
The renderer of an Image
.
Your renderer will need to implement this trait before being able to use
an Image
in your user interface.
Required methods
fn dimensions(&self, handle: &Handle) -> (u32, u32)
Returns the dimensions of an Image
located on the given path.
fn draw(&mut self, handle: Handle, layout: Layout<'_>) -> Self::Output
Draws an Image
.