Checks if the given `console` has graphics support.
(console: &dyn Console)
| 64 | |
| 65 | /// Checks if the given `console` has graphics support. |
| 66 | fn has_graphics(console: &dyn Console) -> bool { |
| 67 | console.size_pixels().is_ok() && console.glyph_size().is_ok() |
| 68 | } |
| 69 | |
| 70 | /// Prints the EndBASIC welcome message to the given console. |
| 71 | pub fn print_welcome(console: &mut dyn Console) -> io::Result<()> { |
no test coverage detected