pub enum RowAction<G: GameData> {
Open(Box<dyn Screen<G>>),
Ask(Question<G>),
Refuse(Option<&'static str>),
}Expand description
What Confirm on an RowValue::Action row does.
Variants§
Open(Box<dyn Screen<G>>)
Opens a screen over the options.
Ask(Question<G>)
Asks first.
Refuse(Option<&'static str>)
Nothing can be done here: the denied sound, and this message under the panel if there is one.
Auto Trait Implementations§
impl<G> !RefUnwindSafe for RowAction<G>
impl<G> !Send for RowAction<G>
impl<G> !Sync for RowAction<G>
impl<G> !UnwindSafe for RowAction<G>
impl<G> Freeze for RowAction<G>
impl<G> Unpin for RowAction<G>
impl<G> UnsafeUnpin for RowAction<G>
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