MCPcopy Index your code
hub / github.com/encounter/objdiff / save_graphics_config

Function save_graphics_config

objdiff-gui/src/views/graphics.rs:57–61  ·  view source on GitHub ↗
(path: &Path, config: &GraphicsConfig)

Source from the content-addressed store, hash-verified

55}
56
57pub 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
63impl GraphicsBackend {
64 pub fn is_supported(&self) -> bool {

Callers 1

graphics_windowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected