pub enum GameOver {
Win,
Lose,
}
Variants
Win
Lose
Implementations
Auto Trait Implementations
impl RefUnwindSafe for GameOver
impl Send for GameOver
impl Sync for GameOver
impl Unpin for GameOver
impl UnwindSafe for GameOver
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more