Enum spinner::menu::MenuValue [] [src]

pub enum MenuValue {
    Text(String),
    Integer(i64),
    Float(f64),
}

The value of the given menu, when given as an argument to the constructor this will be used as the default value. When returned after displaying the menu it will contain the information input by the user.

Variants

Text

The value of a Text MenuOption

Integer

The value of an Integer MenuOption

Float

The value of a Float MenuOption

Trait Implementations

impl Display for MenuValue

fn fmt(&self, f: &mut Formatter) -> Result<(), FmtError>

Derived Implementations

impl Debug for MenuValue

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for MenuValue

fn clone(&self) -> MenuValue

fn clone_from(&mut self, source: &Self)