Search Tutorials
Foss: Rust Programming Language - English
Outline: About Rust Installation of Rust on Linux Check for Curl installation Install modules and packages like cargo, rustfmt, clippy Set up an Integrated Development Environment(IDE) Install Visual Stud..
Basic
Foss: Rust Programming Language - English
Outline: About Cargo About Cargo commands Create a Rust project using Visual Studio code Add a program in main.rs Explore Rust program structure save the program Build the Rust program Run the Rust prog..
Basic
Foss: Rust Programming Language - English
Outline: Variables in Rust Mutabilty in Rust Mutable variable with example Shadowing of variables Scope of varaibles
Basic
4. Data types
Foss: Rust Programming Language - English
Outline: Data types in Rust Scalar Data type with example Constants Type Inference in Rust
Basic
5. Control Flow
Foss: Rust Programming Language - English
Outline: Control Flow Statement if else if else loop for loop while loop
Basic
6. Functions
Foss: Rust Programming Language - English
Outline: Functions in Rust Declare a Function Passing parameters to a Function Function with return value Examples
Basic
7. Enums
Foss: Rust Programming Language - English
Outline: Enums in Rust Variants in Rust Explain with example
Basic
Foss: Rust Programming Language - English
Outline: About Pattern matching Match statement with example About Option and Result enum types Matching Option Type with example Result enum type with example
Basic
Foss: Rust Programming Language - English
Outline: Pattern types in rust Irrefutable pattern refutable pattern if let expression with example while let expression with example
Basic
10. Arrays
Foss: Rust Programming Language - English
Outline: Arrays in Rust Array Index Mutable Array Different methods used in arrays
Basic
Foss: Rust Programming Language - English
Outline: About Tuples Example for Tuples Destructuring Tuples About Rust struct or structures Example for Struct
Basic
12. Strings
Foss: Rust Programming Language - English
Outline: About String data type String Literal String Slice String Objects common methods used with string objects
Basic
13. Ownership
Foss: Rust Programming Language - English
Outline: About Ownership Ownership Rules Drop and Copy traits Example for Drop trait Example for Copy trait
Basic
14. Borrowing
Foss: Rust Programming Language - English
Outline: About Borrowing Rules of Borrowing Example for rules of Borrowing Dangling reference with example
Basic
15. Collections
Foss: Rust Programming Language - English
Outline: Collections Types of Collections Vectors with example HashMap with example HashSet with example
Basic
Foss: Rust Programming Language - English
Outline: About Iterators Types of Iterators Basic and Range Iterators Iterator Adapters Iterator Consumers/Collectors Closures Example for Iterators and Closures
Basic
17. Error Handling
Foss: Rust Programming Language - English
Outline: Error Handling Type of errors Recoverable Errors Unrecoverable Errors Error Propagation Operator Examples for the above errors
Basic
18. File Handling
Foss: Rust Programming Language - English
Outline: File operations Input and Output operations Creating a file Writing to a file Reading from a file Appending, Reading and Writing using Openoptions Deleting a file
Basic
19. Path Struct
Foss: Rust Programming Language - English
Outline: About Path Struct Common methods of Path struct Example to check if a file exists Example to check if it is a file or directory Example to read from the keyboard and write to the terminal
Basic