pub enum PlayState {
Playing,
LevelFinished,
KilledPlayingAnimation(usize),
RestartLevel,
GoToMainScreen,
}
Variants
Playing
LevelFinished
KilledPlayingAnimation(usize)
RestartLevel
GoToMainScreen
Implementations
sourceimpl PlayState
impl PlayState
pub fn keep_acting(&self) -> bool
pub fn hero_can_act(&self) -> bool
Trait Implementations
impl Eq for PlayState
impl StructuralEq for PlayState
impl StructuralPartialEq for PlayState
Auto Trait Implementations
impl RefUnwindSafe for PlayState
impl Send for PlayState
impl Sync for PlayState
impl Unpin for PlayState
impl UnwindSafe for PlayState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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