Trait cosmic::iced_winit::graphics::mesh::Renderer

source ·
pub trait Renderer {
    // Required method
    fn draw_mesh(&mut self, mesh: Mesh);
}
Expand description

A renderer capable of drawing a Mesh.

Required Methods§

source

fn draw_mesh(&mut self, mesh: Mesh)

Draws the given Mesh.

Implementations on Foreign Types§

source§

impl Renderer for Renderer

source§

fn draw_mesh(&mut self, _mesh: Mesh)

Implementors§

source§

impl<A, B> Renderer for cosmic::iced_widget::renderer::fallback::Renderer<A, B>
where A: Renderer, B: Renderer,