mem::take
mem::replace
`std::mem::take` can be used to replace a value of type `T` with `T::default()` instead of `std::mem::replace`.