shared_ptr<SomeThing> thing(new SomeThing()); shared_ptr<ISomeThing> iface = thing Rust is not OOP language, so it's logical that it can't do this. Rust got type system more like Haskell, and for me it's a big plus as I…
shared_ptr<SomeThing> thing(new SomeThing()); shared_ptr<ISomeThing> iface = thing Rust is not OOP language, so it's logical that it can't do this. Rust got type system more like Haskell, and for me it's a big plus as I…