I find the current API a bit strange, since it basically offers an enum that just has a single member on most platforms.
Is there any reason why the RawWindowHandle isn't just a platform-specific type that is decided at compile-time? It's not like people are going to be matching against the platform's implementation at runtime, especially since this is impossible because the enum has only the members available for the current platform.