Skip to main content

IntoOptions

Trait IntoOptions 

Source
pub trait IntoOptions {
    // Required method
    fn into_options(self) -> Vec<(String, String)>;
}
Expand description

A choice’s static options as (value, label) pairs, in display order.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl IntoOptions for Vec<(String, String)>

Source§

impl IntoOptions for Vec<String>

Source§

impl<const N: usize> IntoOptions for [&str; N]

Implementors§