use femtovg::{renderer::OpenGl, Canvas};
use super::Target;
use super::Render;

pub trait DataRenderer {
    type Data;
    fn render(
        &self,
        render: &Render,
        canvas: &mut Canvas<OpenGl>,
        data: &Self::Data,
    ) -> Target;
}
