Expand description
const equivalents of Option methods.
Macros§
- and_
then - A const equivalent of
Option::and_then - filter
- A const equivalent of
Option::filter - flatten
- A const equivalent of
Option::flatten - map
- A const equivalent of
Option::map - ok_or
- A const equivalent of
Option::ok_or - ok_
or_ else - A const equivalent of
Option::ok_or_else - or_else
- A const equivalent of
Option::or_else - unwrap
- A const equivalent of
Option::unwrap, requires Rust 1.57.0 to invoke. - unwrap_
or - A const equivalent of
Option::unwrap_or - unwrap_
or_ else - A const equivalent of
Option::unwrap_or_else
Structs§
- NONE
- Usable to do
[None::<T>; LEN]whenTis non-Copy.
Functions§
- copied
- A const equivalent of the
Option::copiedmethod.