pub struct AppBuilder<'a, 'b> { /* private fields */ }Implementations§
Source§impl<'a, 'b> AppBuilder<'a, 'b>
impl<'a, 'b> AppBuilder<'a, 'b>
pub fn new() -> Self
pub fn world_mut(&mut self) -> &mut World
pub fn with_bundle<ABI, D>(self, installer: ABI, data: D) -> Selfwhere
ABI: FnMut(&mut AppBuilder<'a, 'b>, D),
pub fn with_system<T>(self, system: T, name: &str, deps: &[&str]) -> Self
pub fn with_thread_local_system<T>(self, system: T) -> Selfwhere
T: for<'c> RunNow<'c> + 'b,
pub fn with_barrier(self) -> Self
pub fn with_resource<T>(self, resource: T) -> Self
pub fn with_component<T: Component>(self) -> Self
pub fn install_bundle<ABI, D>(&mut self, installer: ABI, data: D)where
ABI: FnMut(&mut AppBuilder<'a, 'b>, D),
pub fn install_system<T>(&mut self, system: T, name: &str, deps: &[&str])
pub fn install_thread_local_system<T>(&mut self, system: T)where
T: for<'c> RunNow<'c> + 'b,
pub fn install_barrier(&mut self)
pub fn install_resource<T>(&mut self, resource: T)
pub fn install_component<T: Component>(&mut self)
pub fn build<S, AT>(self, state: S, app_timer: AT) -> App<'a, 'b>
pub fn build_empty<AT>(self, app_timer: AT) -> App<'a, 'b>where
AT: AppTimer + 'static,
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for AppBuilder<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for AppBuilder<'a, 'b>
impl<'a, 'b> !Send for AppBuilder<'a, 'b>
impl<'a, 'b> !Sync for AppBuilder<'a, 'b>
impl<'a, 'b> Unpin for AppBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for AppBuilder<'a, 'b>
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> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
Source§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
Source§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default and panics on an error case.