Module fera::optional

source ·
Expand description

Generic optional value.

Structs

Creates T::max_value() as None.
Creates T::min_value() as None.
An Optional for bool with 1 byte size. std::option::Option<bool> have size 1 since rustc 1.23.
An Optional that represents None with a specified value (B::none()) of T domain.

Traits

A builder for None values for type T.
A trait that represents an optional value.

Type Definitions

An Optional that uses T::max_value() as None.
An Optional that uses T::min_value() as None.