Enum lf_gfx::GameCommand
source · pub enum GameCommand {
Exit,
SetInputMode(InputMode),
SetMouseSensitivity(f32),
}Expand description
A command sent to the game to change the game state
Variants§
Auto Trait Implementations§
impl RefUnwindSafe for GameCommand
impl Send for GameCommand
impl Sync for GameCommand
impl Unpin for GameCommand
impl UnwindSafe for GameCommand
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