Here is a discussion of many alternatives: Mutable scalar in immutable object: the best alternative?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Modifying the fields of an immutable struct | 5 | 1363 | January 2, 2024 | |
| Definition of struct written from C and read-only in Julia | 7 | 515 | November 27, 2023 | |
| Mutable scalar in immutable object: the best alternative? | 11 | 2192 | May 29, 2024 | |
| What Julia type maps to a C type containing nested structs? | 2 | 1427 | June 6, 2017 | |
| Setting individual fields for struct in array | 7 | 2100 | August 10, 2017 |