Trait veloren_voxygen::ui::ice::widget::image::Renderer

source ·
pub trait Renderer: Renderer {
    // Required methods
    fn dimensions(&self, handle: Handle) -> (u32, u32);
    fn draw(
        &mut self,
        handle: Handle,
        color: Rgba<u8>,
        layout: Layout<'_>,
    ) -> Self::Output;
}

Required Methods§

source

fn dimensions(&self, handle: Handle) -> (u32, u32)

source

fn draw( &mut self, handle: Handle, color: Rgba<u8>, layout: Layout<'_>, ) -> Self::Output

Object Safety§

This trait is not object safe.

Implementors§