Rust Internals
Pre-RFC: Take trait with impl for Default
language design
mbrubeck
October 19, 2018, 10:45pm
4
A similar proposal previously:
show post in topic
Related topics
Topic
Replies
Views
Activity
Method .take() on Vec
libs
16
3842
March 25, 2019
Proposal: Add is_default() automatically to types that implement Default and PartialEq
libs
28
3676
May 25, 2019
Conditional default trait method impls
language design
11
1477
January 1, 2022
Bounds for default method implementations
language design
14
2576
September 17, 2021
Re-use struct fields on drop; was: Drop(&mut self) vs. drop(self)
language design
33
5174
March 25, 2019