Back
Project
Introduction To Rust
This is the first introductory course on programming in Rust.
Languagerust
Skill LevelBeginner
Total Length5h
Intended Learners
Who’s This Course For
- For developers who are interested in Solana
- For developers who are interested in Rust programming
Requirements
- Basic understanding of Solana - it is recommended to first complete the course on the basics of Solana
- Basic programming experience is recommended - Rust has a higher learning curve, and previous programming experience will aid in understanding Rust syntax
What You’ll Learn
- Introduction to Rust's ownership
- Introduction to compound data types
- Introduction to flow control
- Introduction to error handling and macros
Ownership
Compound Data Type
Macro
Syllabus
Rust Basics
Rust variables, basic data types, functions, statements, and expressions
Rust Ownership
Rust Ownership and Borrowing
Compound Data Type
Rust String, tuple, struct, enum, array and HashMap
Control Flow and Pattern Matching
Rust Control Flow、 Pattern Matching、Method、Generic Type、Trait
Lifetimes
Rust’s dangling references, Lifetimes
Error Handling and Macro
1. Rust’s error handling 2. Overall introduction to macros 3. Declarative macro 4. Process macros (derived macros & attribute macros & functional macros) 5. Rust, project structure
![practice](/_next/static/media/practices_img1.95313557.png)
Introduction To Rust
35 lessons
Access on mobile and desktop