[−][src]Struct oxygengine_core::app::AppBuilder
Implementations
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]
ABI: FnMut(&mut AppBuilder<'a, 'b>, D),
pub fn with_system<T>(self, system: T, name: &str, deps: &[&str]) -> Self where
T: for<'c> System<'c> + Send + 'a,
[src]
T: for<'c> System<'c> + Send + 'a,
pub fn with_thread_local_system<T>(self, system: T) -> Self where
T: for<'c> RunNow<'c> + 'b,
[src]
T: for<'c> RunNow<'c> + 'b,
pub fn with_barrier(self) -> Self
[src]
pub fn with_resource<T>(self, resource: T) -> Self where
T: Send + Sync + 'static,
[src]
T: Send + Sync + 'static,
pub fn with_component<T: Component>(self) -> Self where
T::Storage: Default,
[src]
T::Storage: Default,
pub fn install_bundle<ABI, D>(&mut self, installer: ABI, data: D) where
ABI: FnMut(&mut AppBuilder<'a, 'b>, D),
[src]
ABI: FnMut(&mut AppBuilder<'a, 'b>, D),
pub fn install_system<T>(&mut self, system: T, name: &str, deps: &[&str]) where
T: for<'c> System<'c> + Send + 'a,
[src]
T: for<'c> System<'c> + Send + 'a,
pub fn install_thread_local_system<T>(&mut self, system: T) where
T: for<'c> RunNow<'c> + 'b,
[src]
T: for<'c> RunNow<'c> + 'b,
pub fn install_barrier(&mut self)
[src]
pub fn install_resource<T>(&mut self, resource: T) where
T: Send + Sync + 'static,
[src]
T: Send + Sync + 'static,
pub fn install_component<T>(&mut self) where
T: Component,
T::Storage: Default,
[src]
T: Component,
T::Storage: Default,
pub fn build<S, AT>(self, state: S, app_timer: AT) -> App<'a, 'b> where
S: State + 'static,
AT: AppTimer + 'static,
[src]
S: State + 'static,
AT: AppTimer + 'static,
pub fn build_empty<AT>(self, app_timer: AT) -> App<'a, 'b> where
AT: AppTimer + 'static,
[src]
AT: AppTimer + 'static,
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]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Resource for T where
T: Any,
[src]
T: Any,
impl<T> TryDefault for T where
T: Default,
[src]
T: Default,
fn try_default() -> Result<T, String>
[src]
fn unwrap_default() -> Self
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,