Enum micro_games_kit::game::GameStateChange
source · pub enum GameStateChange {
Continue,
Swap(Box<dyn GameState>),
Push(Box<dyn GameState>),
Pop,
}Variants§
Trait Implementations§
source§impl Default for GameStateChange
impl Default for GameStateChange
source§fn default() -> GameStateChange
fn default() -> GameStateChange
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for GameStateChange
impl !Send for GameStateChange
impl !Sync for GameStateChange
impl Unpin for GameStateChange
impl !UnwindSafe for GameStateChange
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere
T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().