Enum spinner::menu::MenuType [] [src]

pub enum MenuType {
    Text,
    Integer,
    Float,
}

An enum specifying the type of information the user should put in.

This is then later checked against by trying to convert into this type. If it fails the user is asked to type in again.

Variants

Text

Input should be type Text

Integer

Input should be type Integer

Float

Input should be type Float

Trait Implementations

Derived Implementations

impl Debug for MenuType

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

impl Copy for MenuType

impl Clone for MenuType

fn clone(&self) -> MenuType

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

impl PartialEq for MenuType

fn eq(&self, __arg_0: &MenuType) -> bool

fn ne(&self, __arg_0: &MenuType) -> bool

impl Eq for MenuType