Enum rmenu::GuiResult [] [src]

pub enum GuiResult<T> {
    Cancel,
    Option(T),
    Custom(T),
}

Represents a result of the interaction between the user and the GUI.

Variants

The user cancelled the GUI without selecting an option

The user selected an option from the GUI

The user entered a custom option

Trait Implementations

impl<T: Debug> Debug for GuiResult<T>
[src]

Formats the value using the given formatter.