2 ms·
The difference is that the base struct can call methods on the derived struct, whereas this is not possible with that kind of struct embedding. This is importan
by pcwalton 13y ago
The difference is that the base struct can call methods on the derived struct, whereas this is not possible with that kind of struct embedding. This is important for some use cases (e.g. the DOM or the render tree).
- thirsteh 13y agoI see.