[][src]Struct oxygengine_core::app::AppBuilder

pub struct AppBuilder<'a, 'b> { /* fields omitted */ }

Methods

impl<'a, 'b> AppBuilder<'a, 'b>[src]

pub fn new() -> Self[src]

pub fn world_mut(&mut self) -> &mut World[src]

pub fn with_bundle<ABI, D>(self, installer: ABI, data: D) -> Self where
    ABI: FnMut(&mut AppBuilder<'a, 'b>, D), 
[src]

pub fn with_system<T>(self, system: T, name: &str, deps: &[&str]) -> Self where
    T: for<'c> System<'c> + Send + 'a, 
[src]

pub fn with_thread_local_system<T>(self, system: T) -> Self where
    T: for<'c> RunNow<'c> + 'b, 
[src]

pub fn with_barrier(self) -> Self[src]

pub fn with_resource<T>(self, resource: T) -> Self where
    T: Send + Sync + 'static, 
[src]

pub fn with_component<T: Component>(self) -> Self where
    T::Storage: Default
[src]

pub fn install_bundle<ABI, D>(&mut self, installer: ABI, data: D) where
    ABI: FnMut(&mut AppBuilder<'a, 'b>, D), 
[src]

pub fn install_system<T>(&mut self, system: T, name: &str, deps: &[&str]) where
    T: for<'c> System<'c> + Send + 'a, 
[src]

pub fn install_thread_local_system<T>(&mut self, system: T) where
    T: for<'c> RunNow<'c> + 'b, 
[src]

pub fn install_barrier(&mut self)[src]

pub fn install_resource<T>(&mut self, resource: T) where
    T: Send + Sync + 'static, 
[src]

pub fn install_component<T>(&mut self) where
    T: Component,
    T::Storage: Default
[src]

pub fn build<S, AT>(self, state: S, app_timer: AT) -> App<'a, 'b> where
    S: State + 'static,
    AT: AppTimer + 'static, 
[src]

pub fn build_empty<AT>(self, app_timer: AT) -> App<'a, 'b> where
    AT: AppTimer + 'static, 
[src]

Trait Implementations

impl<'a, 'b> Default for AppBuilder<'a, 'b>[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> TryDefault for T where
    T: Default
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,