sigp / superstruct

Rust library for versioned data types
https://sigp.github.io/superstruct/
Apache License 2.0
65 stars 3 forks source link

Generate partial getters for Ref and RefMut #8

Closed michaelsproul closed 2 years ago

michaelsproul commented 3 years ago

At the moment partial getters are only generated for the top-level enum type. They should also be available on the Ref and RefMut types for completeness.

michaelsproul commented 3 years ago

Hmm, just ran into this again. Think this will need to be the next superstruct feature.