Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ad54b93

Browse files
Start the Rust Loop Reference
1 parent 9544e16 commit ad54b93

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Rust Crash Course (Loops, Custom Types, and Errors)
2+
3+
Author: methylDragon
4+
Contains a syntax reference for Rust!
5+
I'll be adapting it from several sources that will be credited in the introduction
6+
7+
------
8+
9+
## Pre-Requisites
10+
11+
**Assumed knowledge (This is a Rust crash course, not a basic coding tutorial)**
12+
13+
- How **variables, loops, conditionals, etc**. work (Basic coding fundamentals will help a lot!)
14+
- Linux (**Terminal/Console proficiency**) (We're going to need to compile our stuff)
15+
- Gone through the all preceding parts of the tutorial
16+
17+
### Good to know
18+
19+
- Other systems programming language knowledge (e.g. C++)
20+
- It'll help with appreciating the benefits of Rust!
21+
22+
- If you have knowledge of computation structures like variables, functions, OOP, etc. it'll be easier
23+
24+
25+
26+
## Introduction
27+
28+
Now that we know what types are, and what tools Rust affords us, we can start getting funky with the next few steps:
29+
30+
- Loops (`for`, `while`, etc.)
31+
- Custom Types (`structs`, `enums`, type aliases)
32+
- Error handling
33+
34+
35+
36+
## Rust Syntax Reference
37+
38+
### Loops (`loop`, `while`, `for`)
39+
40+
41+
42+
43+
44+
45+
```
46+
. .
47+
. |\-^-/| .
48+
/| } O.=.O { |\
49+
```
50+
51+
52+
53+
------
54+
55+
[![Yeah! Buy the DRAGON a COFFEE!](../_assets/COFFEE%20BUTTON%20%E3%83%BE(%C2%B0%E2%88%87%C2%B0%5E).png)](https://www.buymeacoffee.com/methylDragon)
56+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /