Your proposal is similar to: Pre-RFC: Partial Initialization and Write Pointers
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Will default initialisation of structures be made more ergonomic? | 1 | 1142 | March 25, 2019 | |
Empty structs to derive Default by default | 9 | 1787 | August 8, 2020 | |
Proposal: Add is_default() automatically to types that implement Default and PartialEq | 28 | 2993 | May 25, 2019 | |
An approach to resolving some issues with optional arguments | 4 | 2154 | June 1, 2022 | |
Struct field defaults
|
28 | 40501 | March 25, 2019 |