pub trait PickerSelection<T: 'static>: Clone + 'static {
// Required methods
fn current(&self) -> Option<T>;
fn choose(&self, value: T);
}Expand description
How a picker reads and writes its selection: a required value (picker) or an optional
one (picker_optional). Implemented by the two adapters below, never by apps.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".