pub fn write_guard(out: &Path, geom: GeomEncoding, codec: Codec) -> Result<()>Expand description
Emits <asset>.guard.rs, the const _ assertions against utz::caps
for the geometry decoder and codec the asset needs (shared by
Config::generate() and the gen CLI).
ยงErrors
Returns an error on an I/O failure writing <out>.guard.rs.