Struct app_world::AppWorldWrapper [−][src]
pub struct AppWorldWrapper<W: AppWorld> { /* fields omitted */ }
Expand description
Holds application state and resources and will trigger a re-render after .msg() calls. See the crate level documentation for more details.
Cloning
Cloning an AppWorldWrapper
is a very cheap operation.
It can be useful to clone AppWorldWrapper
’s in order to pass the world into event handler
closures.
All clones hold pointers to the same inner state.
Implementations
Set whether or not messages get pushed to the message buffer.
Acquire read access to AppWorld.
Trait Implementations
Auto Trait Implementations
impl<W> RefUnwindSafe for AppWorldWrapper<W>
impl<W> !Send for AppWorldWrapper<W>
impl<W> !Sync for AppWorldWrapper<W>
impl<W> Unpin for AppWorldWrapper<W>
impl<W> UnwindSafe for AppWorldWrapper<W>
Blanket Implementations
Mutably borrows from an owned value. Read more