Trait devotee_backend::RenderSurface
source · pub trait RenderSurface {
type Data;
// Required methods
fn width(&self) -> usize;
fn height(&self) -> usize;
fn data(&self, x: usize, y: usize) -> Self::Data;
}Expand description
The surface for the Application to perform rendering on.