(&mut self)
| 29 | Self { size, fb} |
| 30 | } |
| 31 | pub fn framebuffer(&mut self) -> &mut [u8] { |
| 32 | self.fb |
| 33 | } |
| 34 | pub fn paint_on_framebuffer(&mut self, p: impl FnOnce(&mut [u8]) -> ()) { |
| 35 | p(self.framebuffer()); |
| 36 | framebuffer_flush(); |
no outgoing calls
no test coverage detected