Trait Renderer
coffee::ui::widget::panel
pub trait Renderer { fn draw(&mut self, bounds: Rectangle<f32>); }
The renderer of a Panel.
Panel
Your core::Renderer will need to implement this trait before being able to use a Panel in your user interface.
core::Renderer
fn draw(&mut self, bounds: Rectangle<f32>)
Draws a Panel.
It receives the bounds of the Panel.
impl Renderer for Renderer