5cbf7f5bd7
This adds proper Method and Field classes and uses them instead of the pile of dictionaries we had before. This is probably faster and definitely more readable. I've verified with cl9097.h that this makes no differenct to the generated C or Rust besides whitespace. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34136>