22
Inheritance in 🦀
(lemmy.ml)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Deref works on top of encapsulation though. Inheritance syntactically hides the encapsulation, with Deref it's in the clear.
It's true that it feels like inheritance, but I'm grateful for it. Otherwise it would be a pain to use the windows API.