pub fn write_rust_module( contracts: &[GeneratedContract], output: &Path, ) -> Result<(), Error>
Write generated Rust code to a file.