Programming Extensible Data Types in Rust with CGP - Part 4: Implementing Extensible Variants
This is the fourth part of the blog series on Programming Extensible Data Types in Rust with CGP. You can read the first, second and third parts here.
In the third part of the series, Implementing Extensible Records, we have walked through the internal implementation of extensible records, and learned about concepts such as partial records and builder dispatchers.
In this final fourth part of the series, we will have the same walk through for the internal implementation details for extensible variants.
