3 ms·Rust doesn't have classes. It has structures (struct) and interfaces (trait).by pkolaczk 7y agoRust doesn't have classes. It has structures (struct) and interfaces (trait).