[−][src]Struct oxygengine::core::prelude::AppBuilder
Implementations
impl<'a, 'b> AppBuilder<'a, 'b>
[src]
pub fn new() -> AppBuilder<'a, 'b>
[src]
pub fn world_mut(&mut self) -> &mut World
[src]
pub fn with_bundle<ABI, D>(self, installer: ABI, data: D) -> AppBuilder<'a, 'b> 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]
) -> AppBuilder<'a, 'b> where
T: for<'c> System<'c> + Send + 'a,
[src]
self,
system: T,
name: &str,
deps: &[&str]
) -> AppBuilder<'a, 'b> where
T: for<'c> System<'c> + Send + 'a,
pub fn with_thread_local_system<T>(self, system: T) -> AppBuilder<'a, 'b> where
T: for<'c> RunNow<'c> + 'b,
[src]
T: for<'c> RunNow<'c> + 'b,
pub fn with_barrier(self) -> AppBuilder<'a, 'b>
[src]
pub fn with_resource<T>(self, resource: T) -> AppBuilder<'a, 'b> where
T: Send + Sync + 'static,
[src]
T: Send + Sync + 'static,
pub fn with_component<T>(self) -> AppBuilder<'a, 'b> where
T: Component,
<T as Component>::Storage: Default,
[src]
T: Component,
<T as Component>::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 as Component>::Storage: Default,
[src]
T: Component,
<T as Component>::Storage: Default,
pub fn build<S, AT>(self, state: S, app_timer: AT) -> App<'a, 'b> where
AT: AppTimer + 'static,
S: State + 'static,
[src]
AT: AppTimer + 'static,
S: State + '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]
fn default() -> 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,
T: Any,
impl<T> TryDefault for T where
T: Default,
T: Default,
fn try_default() -> Result<T, String>
fn unwrap_default() -> Self
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>,