Ask your seniors a question about the characteristics of Rust:

Ask your seniors a question about the characteristics of Rust:
Are there any inheritance, polymorphism, and multiple implementation features in Rust?
If so, how to avoid the complexity of the code, so as to write high-quality code that is more readable and easier to understand.

:no_entry_sign: Inheritance
:heavy_check_mark: Polymorphism

It is not 100% clear to me what "multiple implementation" means; the answer may be "yes" or "no" depending.

2 Likes

Polymorphism :achieve through Impls & Traits
interface : achieve through Traits
inheritance: you can inheritance Traits only

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.