pub fn write_to_writer( module: &Module<'_>, writer: impl Write, ) -> Result<(), WriteError>
Writes a module to an impl of Write.