[−][src]Function syntect::dumps::dump_to_file
pub fn dump_to_file<T: Serialize, P: AsRef<Path>>(o: &T, path: P) -> Result<()>
Dumps an encodable object to a file at a given path. If a file already exists at that path
it will be overwritten. The files created are encoded with the bincode
crate and then
compressed with the flate2
crate.