🧩 Traits are not for method overloading. They are a way to define methods that multiple types can implement, enabling polymorphism! With traits you can write functions that accept different types, that all have a common behavior. All while maintaining type safety! #Rust30by30 #Rustlang #Day4
1 likes 0 replies
?