- cross-posted to:
- rust@programming.dev
- cross-posted to:
- rust@programming.dev
You must log in or register to comment.
Thanks for the explanation! I haven’t worked with Rust before, would these traits be an equivalent of C# interfaces?
Traits are similar to an interface, but with some differences. Here is a comparison with Java interfaces https://stackoverflow.com/a/69485860