pub trait GpuDevice: Send + Sync + Any { // Required methods fn get_framebuffer(&self) -> &mut [u8]; fn flush(&self); }