code: def generics(self):
          
          defgeneric = lib.EnvGetNextDefgeneric(self._env, ffi.NULL)
  
          while defgeneric != ffi.NULL:
              yield Generic(self._env, defgeneric)
  
              defgeneric = lib.EnvGetNextDefgeneric(self._env, defgeneric)
docs: Iterates over the defined Generics.