Crate and_then_some

Source
Expand description

Provides an extension trait for bool with methods that return Option<T>.

Traitsยง

BoolExt
Extends the primitive bool type with four methods to create a Options.