Improve Structure accessors
The last release improved the object property accessors to make errors panic by default, moving the previous fallible behavior to try_*
methods.
It would be nice to improve the Structure accessors similarly, though perhaps not copying the design of properties exactly:
- Missing structure fields are not uncommon.
- Sometimes, a field could have one of several types. E.g. depending on context, a
framerate
field has to haveFraction
type if fixated, or if not, one ofFraction
,FractionRange
,List
orArray
.