pub struct EngineBuilder { /* private fields */ }Implementations§
Source§impl EngineBuilder
impl EngineBuilder
pub fn new() -> Self
pub fn filesystem_config(self, filesystem_config: FilesystemConfig) -> Self
pub fn window_config(self, window_config: WindowConfig) -> Self
pub fn graphics_config(self, graphics_config: GraphicsConfig) -> Self
pub fn timer_config(self, timer_config: TimerConfig) -> Self
pub fn keyboard_config(self, keyboard_config: KeyboardConfig) -> Self
pub fn mouse_config(self, mouse_config: MouseConfig) -> Self
pub fn touch_config(self, touch_config: TouchConfig) -> Self
pub fn touchpad_config(self, touchpad_config: TouchpadConfig) -> Self
pub fn gamepad_config(self, gamepad_config: GamepadConfig) -> Self
pub fn audio_config(self, audio_config: AudioConfig) -> Self
pub fn build(self) -> GameResult<Engine>
Trait Implementations§
Source§impl Clone for EngineBuilder
impl Clone for EngineBuilder
Source§fn clone(&self) -> EngineBuilder
fn clone(&self) -> EngineBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EngineBuilder
impl RefUnwindSafe for EngineBuilder
impl Send for EngineBuilder
impl Sync for EngineBuilder
impl Unpin for EngineBuilder
impl UnwindSafe for EngineBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more