ended8월 10일· 1 sources
[Advanced Rust] 2.8. API Design Principles of Flexibility Pt.4 - Problems with Explicit Destructors and Three Solutions
Why it matters
2.8.1. Problems with Explicit Destructors Problems arise when you add an explicit destructor: - When a type implements Drop , you cannot move any of its fields out inside the destructor. That is becau...
1
Sources
+0
24h
—
Growth
4d
Active