Sets the color to return from `peek_pixel` at the given location.
(&mut self, xy: PixelsXY, color: Option<u8>)
| 219 | |
| 220 | /// Sets the color to return from `peek_pixel` at the given location. |
| 221 | pub fn set_peek_pixel(&mut self, xy: PixelsXY, color: Option<u8>) { |
| 222 | self.peek_pixels.insert(xy, color); |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | impl Drop for MockConsole { |
no test coverage detected