Function syntect::dumps::dump_to_uncompressed_file
source · pub fn dump_to_uncompressed_file<T: Serialize, P: AsRef<Path>>(
o: &T,
path: P
) -> Result<()>
Expand description
To be used when serializing a [SyntaxSet
] to a file. A [SyntaxSet
]
itself shall not be compressed, because the data for its lazy-loaded
syntaxes are already compressed. Compressing another time just results in
bad performance.