Struct let_engine::GameBuilder
source · pub struct GameBuilder { /* private fields */ }
Expand description
This is what you create your whole game session with.
Implementations§
source§impl GameBuilder
impl GameBuilder
pub fn new() -> Self
pub fn with_window_builder(self, window_builder: WindowBuilder) -> Self
pub fn with_clear_background_clear_color(self, color: [f32; 4]) -> Self
pub fn build(&mut self) -> (Game, EventLoop<()>)
Trait Implementations§
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
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()
.