35% Off Finance Skills That Get You Hired - Code CFI35
Google AI Professional Certificate - Learn AI Skills That Get You Hired
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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