code: def _generate_struct_properties(self, fields):
          
          for field in fields:
              doc = self.process_doc(field.doc,
                                     self._docf) if field.doc else undocumented
              self.emit_wrapped_text(
                  self.process_doc(doc, self._docf), prefix=comment_prefix)
              self.emit(fmt_property(field=field))
              self.emit()
docs: Emits struct instance properties from the given fields.