12 lines
276 B
Markdown
Raw Permalink Normal View History

2020-05-03 15:12:03 +02:00
# Classes in Rust
Rust doesn't have classes like Java or other typical c style languages. Instead
there are Structs and Traits.
Structs are responsible for storing data and nothing else. Traits define
functions that can be used.
## Relevant Files
- [car.rs](./src/car.rs)