This website requires JavaScript.
Explore
Help
Sign In
Timo
/
oop-examples
Watch
1
Star
0
Fork
0
You've already forked oop-examples
Code
Issues
Pull Requests
Releases
Wiki
Activity
f5c60a26f2
Branches
Tags
View all branches
oop-examples
/
rust
/
instances
/
README.md
Timo Hocker
551e8835d7
extra info for other languages
2020-04-01 15:29:10 +02:00
236 B
Raw
Blame
History
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
main.rs