[][src]Trait coffee::ui::widget::panel::Renderer

pub trait Renderer {
    fn draw(&mut self, bounds: Rectangle<f32>);
}

The renderer of a Panel.

Your core::Renderer will need to implement this trait before being able to use a Panel in your user interface.

Required methods

fn draw(&mut self, bounds: Rectangle<f32>)

Draws a Panel.

It receives the bounds of the Panel.

Loading content...

Implementors

impl Renderer for Renderer[src]

Loading content...