[][src]Struct acute_app::App

pub struct App {
    pub universe: Universe,
    pub resources: Resources,
    pub schedule: Schedule,
    pub render_schedule: Schedule,
    pub scene: Scene,
}

Fields

universe: Universeresources: Resourcesschedule: Schedulerender_schedule: Schedulescene: Scene

Implementations

impl App[src]

pub fn new() -> Self[src]

pub fn builder() -> AppBuilder[src]

pub fn run(
    &mut self,
    event: &WinitEvent<'_, ()>,
    control_flow: &mut ControlFlow
)
[src]

pub fn run_with_state<T: State>(
    &mut self,
    state: &mut T,
    event: &WinitEvent<'_, ()>,
    control_flow: &mut ControlFlow
)
[src]

pub fn add_resource<T: Resource>(&mut self, resource: T)[src]

Trait Implementations

impl Default for App[src]

Auto Trait Implementations

impl !RefUnwindSafe for App

impl !Send for App

impl !Sync for App

impl Unpin for App

impl !UnwindSafe for App

Blanket Implementations

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

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

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

impl<T> Downcast for T where
    T: Any

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.