|
|
|
|
|
by dgb23
2145 days ago
|
|
I merely a beginner and learn the language on the side. Things that come to mind are (incomplete list): - From trait - derive - traits you can implement to convert a data structure into a iterator - Deref, Drop traits, MutexGuard These things appear magical at first but make for very expressive abstractions. In regards to web-dev: a framework that makes heavy use of traits and macros is Rocket. As for material: when I’m learning I typically have The Book, Rust by Example and some tabs of the standard library open. Then just go by curiosity. Perhaps not the best approach? |
|