Skip to main content

Options

Trait Options 

Source
pub trait Options: Sized + 'static { }
Expand description

The options of a Choice, from an enum.

Only derive(Options) implements it. A caller names the trait in a bound, as in O: Options. For options that are not an enum, use Choice::with_values.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§