Option
The Option<T>
enum representing either Some(value)
or None
.
Fully qualified path: core::option::Option
#[must_use]
#[derive(Copy, Drop, Debug, Serde, PartialEq)]
pub enum Option<T> {
Some: T,
None,
}
Variants
Some
Fully qualified path: core::option::Option::Some
Some : T
None
Fully qualified path: core::option::Option::None
None