Michael Smith 5b815b7001
Implement serialize_with for variants
As discussed in #1013, serialize_with functions attached to variants receive an
argument for each inner value contained within the variant. Internally such a
function is wired up to the serializer as if the variant were a newtype variant.
2017-08-14 11:17:08 -07:00
..
2017-04-13 17:34:42 -07:00
2017-04-13 17:34:42 -07:00
2017-04-13 17:34:42 -07:00
2017-04-13 17:34:42 -07:00
2017-07-09 09:22:20 -07:00
2017-04-13 17:34:42 -07:00
2017-04-13 17:34:42 -07:00