246 B
246 B
Rust Example
Language specific
- Rust doesn't use the 'new' keyword
- Classes in Rust require all attributes to be defined at all times, so you have to define all the data on creation.
Relevant Files