3 ms·
Traits implement interface inheritance, yes. #derive has nothing to do with derived classes in OOP, it's an annotation-like facility that adds auto-generated co
by zozbot234 4y ago
Traits implement interface inheritance, yes. #derive has nothing to do with derived classes in OOP, it's an annotation-like facility that adds auto-generated code to any object.
- queuebert 4y agoIsn't #derive a syntactical sugar for a bare impl?