Enum prototty::MenuOutput
source · pub enum MenuOutput<T> {
Quit,
Cancel,
Finalise(T),
}
Expand description
The result of a user interacting with a menu.
Variants
Quit
Cancel
Finalise(T)
Auto Trait Implementations
impl<T> RefUnwindSafe for MenuOutput<T>where
T: RefUnwindSafe,
impl<T> Send for MenuOutput<T>where
T: Send,
impl<T> Sync for MenuOutput<T>where
T: Sync,
impl<T> Unpin for MenuOutput<T>where
T: Unpin,
impl<T> UnwindSafe for MenuOutput<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more