I need to assign an NSImage to an NSLayer field.
You can see the field in question — layer.contents — in the CALayer docs here:
https://developer.apple.com/documentation/quartzcore/calayer
And the field itself is an any type that can be explicitly assigned a CG or NSImage:
https://developer.apple.com/documentation/quartzcore/calayer/1410773-contents
These property fields aren't bound or exposed in core:sys/darwin/Foundation's Layer object. More importantly, I don't see any other objects in the bindings who expose structure fields correctly, it's all just procedure methods. Modifying the basic Layer struct nets an error because objc_class types must be zero-sized.
So how can I bind or otherwise access that field to make this assignment in Odin?