Rust Option Enum Type Overview
Offered By: Trevor Sullivan via YouTube
Course Description
Overview
Explore the Rust Option enum type in this 21-minute tutorial video. Dive into the "option" module from the Rust std crate, which declares an Option enum type with two variants: None and Some(T). Learn how to use the Option type to handle potential null values for any data type, including core Rust types and custom user-defined types. Follow along with hands-on demonstrations covering declaring Option types, unwrapping Option values, mutating Option types, and working with custom enum types. Gain practical insights into Rust programming and enhance your understanding of this powerful language feature.
Syllabus
Introduction
Declaring Option Type
Unwrapping Option Type
Muting Option Type
Custom Enum Type
Unwrap
Taught by
Trevor Sullivan
Related Courses
The Rust Programming LanguageUdemy Rust for Beginners: Learn Rust in 4 Hours
Udemy Rust For Undergrads
Udemy Take your first steps with Rust
Microsoft via Microsoft Learn Rust Fundamentals
Pluralsight