|
rstd 0.1.0
|
An optional value: either Some containing a value, or None.
More...
Public Member Functions | |
| auto | clone () const -> Option |
| Creates a deep copy of this option and its contained value. | |
| void | clone_from (Option &source) |
| Overwrites this option with a clone of the source. | |
An optional value: either Some containing a value, or None.
An optional value: either Some(T) or None.
| T | The type of the contained value. |
|
inline |
Creates a deep copy of this option and its contained value.
Option with a cloned value, or None.
|
inline |
Overwrites this option with a clone of the source.
| source | The option to clone from. |