Rust Language Cheat Sheet
† PDF is only updated occasionally and mainly provided for mobile users who can't use the "Generate PDF" button on the site. Online version is generally recommended.
Background
This is the "Rust Language Cheat Sheet". It is for users who
- are early Rust professionals (experienced programmers, intermediate Rust users), and
- prefer visual, example-driven content
Use cases, in order of priority:
- "identification guide" for unknown or symbolic constructs encountered in code.
- provide further reading from easy to advanced (Book to Nomicon).
- quick lookup for language related problems.
- discover constructs in the language you might not know.
Design guides:
- have high information density; every word counts.
- be printer and mobile friendly
- don't repeat what's better explained elsewhere, but do state the very essence.
- have memorable URL :)
Building
Built with Zola, the static site generator written in Rust. To develop locally install Zola, then run:
zola serve
Contributing
Contributions are very welcome. You can PR bug fixes (broken links, typos, ...) directly. I am happy to evolve the current concept based on feedback and demands. Feel free to open an issue and discuss.
Credits
Big shout-out to all the contributors and people filing issues and pull requests for being awesome!
Takes additional inspiration from:
- The Book (some tables)
- Idiomatic Rust Libraries (Idiomatic Rust)
- Ferris (Rust mascot by Karen Rustad Tölva)
- Rust container cheat sheet (For data layout; Raph Levien)
- That one IEEE 754-2008 Powerpoint deck I can't find anymore ...
- Da Button Factory (Download / PDF buttons)
- String Conversions
Legal & License
Please see here for details.