(path: &Path, config: &GraphicsConfig)
| 55 | } |
| 56 | |
| 57 | pub fn save_graphics_config(path: &Path, config: &GraphicsConfig) -> Result<()> { |
| 58 | let file = BufWriter::new(File::create(path)?); |
| 59 | ron::Options::default().to_io_writer(file, config)?; |
| 60 | Ok(()) |
| 61 | } |
| 62 | |
| 63 | impl GraphicsBackend { |
| 64 | pub fn is_supported(&self) -> bool { |