Trait veloren_voxygen::ui::ice::widget::background_container::Renderer
source · pub trait Renderer: Renderer {
// Required method
fn draw<M, B>(
&mut self,
defaults: &Self::Defaults,
background: &B,
background_layout: Layout<'_>,
viewport: &Rectangle,
content: &Element<'_, M, Self>,
content_layout: Layout<'_>,
cursor_position: Point,
) -> Self::Output
where B: Background<Self>;
}
Required Methods§
fn draw<M, B>(
&mut self,
defaults: &Self::Defaults,
background: &B,
background_layout: Layout<'_>,
viewport: &Rectangle,
content: &Element<'_, M, Self>,
content_layout: Layout<'_>,
cursor_position: Point,
) -> Self::Outputwhere
B: Background<Self>,
Object Safety§
This trait is not object safe.