Rust Internals
Allow constructing non_exhaustive structs using ..Default::default()
language design
scottmcm
January 19, 2021, 5:29pm
2
You'll probably be interested in this thread, and upcoming RFC, from ekuber:
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Private fields and non-exhaustive structs and base structs
5
981
February 21, 2023
Pre-RFC: Relaxed #[non_exhaustive] structs
language design
17
3103
November 1, 2020
Struct field defaults
28
45664
March 25, 2019
Non_exhaustive for modules
language design
3
762
December 3, 2021
Allow FRU syntax on non_exhaustive structs
4
1335
October 29, 2020