Hello, this is driving me a little crazy. I'm using this rather nice windowing library (https://github.com/ypsvlq/wio), with these directions (https://github.com/ypsvlq/wio/tree/master?tab=readme-ov-file#wayland) for reaching the wayland API.
Yet accessing the .backend union using any value immediately panics with invalid enum value, and I can't work out the cause. I'd expect an incorrect union access to be rejected during compilation, and the type inspection gives the expected field_names, yet using either the right member (.wayland here) or a wrong member (.x11) at runtime panics. Nor can I spot anything that would leave that value undefined when I access it.
What's going on here??