1. 1. Hello, World
  2. 2. Scratchpad 2
  3. 3. Scratchpad
    1. 3.1. Your Turn
  4. 4. The Status Line
  5. 5. Quick Notes
  6. 6. Variables
  7. 7. Printing Variables
    1. 7.1. Step By Step
    2. 7.2. Your Turn
  8. 8. Printing Multiple Variables
    1. 8.1. Step By Step
  9. 9. Printing Variables - Alternate Syntax
  10. 10. Printing Multiple Variables - Alternate Syntax
  11. 11. Mutable Variables
    1. 11.1. push_str()
    2. 11.2. Step By Step
    3. 11.3. Your Turn
  12. 12. Variables Names With _ Underscores
  13. 13. Functions
    1. 13.1. No Arguments - No Return
      1. 13.1.1. Step By Step
      2. 13.1.2. Your Turn
    2. 13.2. With Arguments - No Return
      1. 13.2.1. Step By Step
      2. 13.2.2. Your Turn
    3. 13.3. No Arguments - With Return
      1. 13.3.1. Step By Step
      2. 13.3.2. Your Turn
    4. 13.4. With Arguments - With Return
      1. 13.4.1. Step By Step
      2. 13.4.2. Your Turn
  14. 14. Ownership
    1. 14.1. Step 1
    2. 14.2. Step 2
    3. 14.3. Step 3
    4. 14.4. What Doesn't Happen
    5. 14.5. Step 4 - What Does Happen
    6. 14.6. Step 5
      1. 14.6.1. Step By Step
      2. 14.6.2. Your Turn
    7. 14.7. Hitting A Moved Error
      1. 14.7.1. Your Turn
    8. 14.8. Moving Error Details
  15. 15. References
    1. 15.1. Setp By Step
    2. 15.2. Your Turn
    3. 15.3. Step 1
    4. 15.4. Step 2
    5. 15.5. Working Example
    6. 15.6. Multiple References
      1. 15.6.1. Step By Step
      2. 15.6.2. Your Turn
  16. 16. Cheatsheet
  17. DRAFTS
  18. 17. Drafts
  19. 18. Errors - panic!() and Result
  20. 19. panic!()
    1. 19.1. Identifying panic!() Errors
    2. 19.2. Causing panic!() Errors
  21. 20. Result (Error Handling)
    1. 20.1. Step By Step
  22. 21. Result And Option
  23. 22. Function Argument References
    1. 22.1. With Variables
    2. 22.2. Error Example
  24. 23. Mutable Function Argument References
  25. 24. Structs
    1. 24.1. Step By Step
    2. 24.2. Your Turn
  26. 25. Mutalbe Struct Instances
    1. 25.1. Step By Step
    2. 25.2. Your Turn
  27. 26. Passing Structs To Functions
    1. 26.1. Step By Setp
    2. 26.2. Your Turn
  28. 27. Passing Mutalbe Structs To Functions
    1. 27.1. Step By Step
    2. 27.2. Your Turn
  29. 28. Option Type
    1. 28.1. Option Page 2
    2. 28.2. Your Turn
  30. 29. Struct Methods
  31. 30. Enums
  32. 31. Vecs
  33. 32. Strings
    1. 32.1. Strings Original Text
    2. 32.2. Mutable Strings
    3. 32.3. To Examine
  34. 33. Hash Maps
  35. Prototypes
  36. 34. Prototype 1
  37. Scratchpad
  38. Pending
  39. 35. Ownership Stuff
    1. 35.1. Function Moves
    2. 35.2. Function Move Errors
  40. 36. If Expressions
    1. 36.1. If/Else
  41. 37. Comparison Operators
  42. 38. Variables With If Expressions
    1. 38.1. println! Variables
  43. 39. Data Types
    1. 39.1. i32
  44. 40. Function Arguments
  45. 41. Program: NAME TKTKTKT
  46. 42. Immutable Variables
    1. 42.1. Assigning Twice Error
  47. 43. Mutable Variables
  48. 44. Program: NAME TKTKTKT V2
  49. 45. for Loops With Ranges
    1. 45.1. With Variables
  50. 46. Arithmetic Operators
    1. 46.1. Division Operator
    2. 46.2. Remainder Operator
    3. 46.3. With Comparison Operators
    4. 46.4. Comparison Operators With Variables
    5. 46.5. Using The Remainder
    6. 46.6. Using The Remainder V2
  51. 47. Booleans
    1. 47.1. In Conditionals
  52. 48. Function Return Values
    1. 48.1. Different Types
    2. 48.2. Returning From if
    3. 48.3. Functions As Conditions
  53. 49. Program 3 NAME TKTKTKT
  54. 50. Scopes
  55. 51. Difficulty Increasing
  56. 52. Illustrations Incoming
  57. 53. References Old
  58. 54. Mutable References
  59. Holding Drafts
  60. 55. References Holding
    1. 55.1. A Single Value
    2. 55.2. Using In A Function
    3. 55.3. Changing In A Function
    4. 55.4. A Function Error
  61. 56. Ownership And Moving
    1. 56.1. Moving Error
  62. 57. Cloning
    1. 57.1. Separate Values
  63. 58. Binding Values From if
    1. 58.1. Must Be The Same Type
    2. 58.2. Mismatched Type Error
  64. 59. Sandbox
  65. Holding
  66. 60. While Loops
  67. 61. Variables In println!
  68. Holding
  69. 62. String
  70. 63. Vec
  71. 64. Else If Expressions
  72. 65. Assignment Operators
    1. 65.1. Examples
    2. 65.2. Division
    3. 65.3. Remainder
  73. 66. Arithmetic Stuff
  74. Original Versions
  75. 67. Data Types
    1. 67.1. Implicit And Explicit
    2. 67.2. Using Explicit Types
    3. 67.3. The Number Types
    4. 67.4. Booleans
  76. 68. Compound Data Types
    1. 68.1. Tuples
    2. 68.2. Tuple Indexes
    3. 68.3. Indexes And Offsets
  77. 69. Functions
    1. 69.1. Parameters
    2. 69.2. Using Parameters
    3. 69.3. Multiple Parameters
    4. 69.4. Using Multiple Parameters
    5. 69.5. Return Values
    6. 69.6. Binding Return Values
    7. 69.7. Return Expressions
    8. 69.8. Return Expression Errors
    9. 69.9. Review
  78. 70. if Expressions
    1. 70.1. false Conditions
    2. 70.2. else Expressions
    3. 70.3. else if Expressions
    4. 70.4. Multiple if else Expressions
    5. 70.5. Function Example
    6. 70.6. Binding Variables
    7. 70.7. Binding Values Must Be The Same
    8. 70.8. Incompatible Types
  79. 71. While Loops
    1. 71.1. Assignments
  80. 72. For Loops
    1. 72.1. Using Ranges
  81. 73. if let placeholder
  82. Cards
  83. 74. Error Messages In Tutorials
  84. 75. Messing With The Code
  85. 76. Preamble
  86. Stuff To Sort
  87. 77. The String Type
    1. 77.1. Moving String
  88. 78. Functions Placeholder
    1. 78.1. Passing Values In Functions
    2. 78.2. Function References
    3. 78.3. Function References Can't Be Modified
    4. 78.4. Function Mutable References
    5. 78.5. Only One Mutable Reference
    6. 78.6. Scope For Mutable References
    7. 78.7. Mutable And Immutable References Can't Be Combined
    8. 78.8. TODO
  89. Needs Spell Check
  90. 79. Slices TODO
  91. 80. String literals
  92. 81. Tuple Structs
  93. 82. Debug Derived Trait
  94. 83. match
    1. 83.1. Step By Step
    2. 83.2. Passing Values
  95. 84. match drafts
  96. To Sort
  97. 85. Scope
    1. 85.1. Scope Error
    2. 85.2. Scope Error Message
  98. Misc
  99. 86. Guildlines
  100. -- Work In Progress --
  101. 87. Work In Progress
  102. 88. TODO List
  103. 89. Statements and Expressions
  104. 90. Constants
    1. 90.1. In The Global Scope
    2. 90.2. Types Required
    3. 90.3. Compile Time
  105. 91. Shadowing Variables
    1. 91.1. Shadowing Variables In Scope
    2. 91.2. Shadowing Variables To Change Type
  106. 92. Characters
  107. 93. Destructuring Tuples
  108. 94. Adding Values To Tuples
  109. 95. Arrays
  110. 96. Statements And Expressions
  111. 97. Option Type
  112. Work In Progress
  113. 98. Prerequisites
  114. 99. About This Site
  115. 100. Glossary
  116. 101. Typo Test
  117. 102. Work In Progress
    1. 102.1. Turning Off Warnings
    2. 102.2. The Error Message
  118. 103. Error Messages
  119. 104. Variables - Origian with types
  120. 105. if let
  121. To Sort
  122. 106. Loops
    1. 106.1. Binding Values
    2. 106.2. Labels
    3. 106.3. Nested Loops
  123. Holding
  124. 107. Enum Type Aliases
  125. Fizz Buzz
  126. 108. Fizz Buzz
  127. For Review
  128. 109. Hello, World - The Parts
  129. 110. A Complete Program
  130. Sandbox

Typing Rust

Step By Step