Struct micro_games_kit::GameLauncher
source · pub struct GameLauncher { /* private fields */ }
Implementations§
source§impl GameLauncher
impl GameLauncher
sourcepub fn new(instance: GameInstance) -> Self
pub fn new(instance: GameInstance) -> Self
pub fn load_config_from_file( self, config: impl AsRef<Path> ) -> Result<Self, Box<dyn Error>>
pub fn load_config_from_str(self, config: &str) -> Result<Self, Box<dyn Error>>
Auto Trait Implementations§
impl !RefUnwindSafe for GameLauncher
impl !Send for GameLauncher
impl !Sync for GameLauncher
impl Unpin for GameLauncher
impl !UnwindSafe for GameLauncher
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