▲ | bitwize 4 days ago | |
C++ classes are types. Rust traits are applied to types. | ||
▲ | Kranar 4 days ago | parent [-] | |
And what exactly do you think traits apply to types exactly? If your answer doesn't start with an "m" and end with a "ethod", then you may need to re-read the Rust book found here: |