pub enum MenuAction {
None,
Push(Box<dyn MenuScreen>),
Pop,
PopToRoot,
Quit,
StartGame {
difficulty: DifficultyPreset,
class: CharacterClass,
name: String,
},
LoadGame {
slot: usize,
},
OpenSettings,
ApplySettings,
ReturnToMainMenu,
ShowCredits,
Retry,
}Variants§
None
Push(Box<dyn MenuScreen>)
Pop
PopToRoot
Quit
StartGame
LoadGame
OpenSettings
ApplySettings
ReturnToMainMenu
ShowCredits
Retry
Auto Trait Implementations§
impl Freeze for MenuAction
impl !RefUnwindSafe for MenuAction
impl Send for MenuAction
impl Sync for MenuAction
impl Unpin for MenuAction
impl UnsafeUnpin for MenuAction
impl !UnwindSafe for MenuAction
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