pub fn encode_to_file<'tcx, V: Encodable<ParalegalEncoder<'tcx>>>( tcx: TyCtxt<'tcx>, path: impl AsRef<Path>, v: &V, )
Convenience function that encodes some value to a file.