Your proposal is similar to: Pre-RFC: Partial Initialization and Write Pointers
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Shorthand for `Default::default()` | 9 | 1374 | March 7, 2023 | |
Will default initialisation of structures be made more ergonomic? | 1 | 1173 | March 25, 2019 | |
Allow a trailing `..` in a struct literal, meaning `.. Default::default()` | 6 | 3078 | March 25, 2019 | |
Add default keyword | 16 | 572 | August 11, 2024 | |
Making Default a lang item so that function pointers can implement it | 17 | 1266 | January 29, 2021 |