See this thread for related discussion. If you’re worried about the visual noise that results from accessing deeply nested fields, you may appreciate UnPack.jl.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Generate a (mutable) struct which inherits others | 12 | 2734 | April 3, 2023 | |
| Macro to inherit fields from one type to another | 10 | 1203 | February 9, 2023 | |
| Copying struct fields to another struct | 3 | 1428 | July 20, 2020 | |
| How to enforce the fields to be inherited? | 8 | 1144 | February 12, 2019 | |
| Composition and inheritance: the Julian way | 133 | 41961 | May 14, 2024 |