pub trait IntoOptions {
// Required method
fn into_options(self) -> Vec<(String, Text)>;
}Expand description
A choice’s static options as (value, label) pairs, in display order. A value listed alone
is its own label; a label is a Text, so a message translates it.
Required Methods§
fn into_options(self) -> Vec<(String, Text)>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".