I found https://wayland.app/protocols/ very helpful so far.
That and studying smithay code.
That was the documentation with the incorrect nullability I was referencing.
That was the documentation with the incorrect nullability I was referencing.