blob: bcf379640ba87f4485f408356eb6c24c0f39862d (
plain) (
tree)
|
|
use crate::MouseCursor;
use raw_window_handle::HasRawWindowHandle;
pub trait Windowed: super::Renderer {
type Target;
fn new<W: HasRawWindowHandle>(window: &W) -> Self;
fn target(&self, width: u16, height: u16) -> Self::Target;
fn draw(
&mut self,
output: &Self::Output,
target: &mut Self::Target,
) -> MouseCursor;
}
|