[][src]Trait iced::widget::canvas::Drawable

pub trait Drawable {
    fn draw(&self, frame: &mut Frame);
}
This is supported on feature="canvas" only.

A type that can be drawn on a Frame.

Required methods

fn draw(&self, frame: &mut Frame)

This is supported on feature="canvas" only.

Draws the Drawable on the given Frame.

Loading content...

Implementors

Loading content...