pub enum MenuOutput<T> {
Quit,
Cancel,
Finalise(T),
}
Expand description
The result of a user interacting with a menu.
Variants§
Auto Trait Implementations§
impl<T> Freeze for MenuOutput<T>where
T: Freeze,
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more