Skip to content

alfredodeza/rust-structs-types-enums

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coursera Course

This repository is part of the Rust Fundamentals Coursera course and Systems Engineering specialization by Duke University

Rust Structs, Types, and Enums

Rust Bootcamp week 3: Structs, Types, and Enums

This week, you will learn how to create structs, types, and enums as well defining new types and extending them. You will use types like String and manipulate other data structures like vectors and hash maps. Enums in Rust are similar to enums in other languages, but they have some interesting features that make them more powerful like the Option and Result types that can be used to handle errors with match expressions.

This is week 3 of the Rust Bootcamp. There are 4 weeks in total:

💡 Are you just looking for a 👉 Rust template to get started easily with a project? The template has everything you need!

🚀 Watch the Video course

O'Reilly

Contents

This week has several examples located in the ./examples directory. Make sure you have Rust installed and you are using Visual Studio Code.

This repository is Codespaces ready, and it is set as a template repository. You can create a new repository from this template and start working on your own with Codespaces. This means that Rust, Copilot, and all the extensions are already installed and configured for you.

Lesson 1: Using structured data

Lesson 2: Exploring strings and vectors

Lesson 3: Working with Enum and variants

Lesson 4: Practice Lab

Use the included practice lab to apply the content you've learned in this week. Follow the steps to create your own repository and apply the requirements to complete the lab.

Resources

Coursera Courses

About

Rust Bootcamp Week 3: Structs, Types, and Enums

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published