The Option enum
The Option enum.
#![allow(unused)]
fn main() {
enum Option<T> {
None,
Some(T),
}
}
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
The Option enum.
#![allow(unused)]
fn main() {
enum Option<T> {
None,
Some(T),
}
}