Struct let_engine::GameBuilder
source · pub struct GameBuilder { /* private fields */ }
Implementations§
source§impl GameBuilder
impl GameBuilder
This is what you create your whole game session with.
pub fn new() -> Self
pub fn with_resources(self, resources: Resources) -> Self
pub fn with_window_builder(self, window_builder: WindowBuilder) -> Self
pub fn with_app_info(self, app_info: AppInfo) -> Self
pub fn build(&mut self) -> (Game, EventLoop<()>)
Auto Trait Implementations§
impl !RefUnwindSafe for GameBuilder
impl !Send for GameBuilder
impl !Sync for GameBuilder
impl Unpin for GameBuilder
impl !UnwindSafe for GameBuilder
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