> It supports functional and OO paradigms.
[Citation Needed]I don't think anything in Rust supports OO paradigm. There are instances where people ask for OO paradigm, but so far, there wasn't any movements towards it.
There is no inheritance and no polymorphism based on it. There is generics polymorphism, but nothing like that.
Hell, even things like
object.method()
is a sugar for: method(&object)
And I mean that in literal sense, you can use the second form always.
https://play.rust-lang.org/?gist=6a8111b51c3862caa52c498c79e...