[][src]Struct minimum::async_dispatcher::Dispatcher

pub struct Dispatcher<ResourceId> where
    ResourceId: ResourceIdTrait
{ /* fields omitted */ }

Methods

impl<ResourceId> Dispatcher<ResourceId> where
    ResourceId: ResourceIdTrait
[src]

pub fn end_game_loop(&self)[src]

pub fn enter_game_loop<F, FutureT>(self, f: F) where
    F: Fn(Arc<Dispatcher<ResourceId>>) -> FutureT + Send + Sync + 'static,
    FutureT: Future<Item = (), Error = ()> + Send + 'static, 
[src]

Auto Trait Implementations

impl<ResourceId> Unpin for Dispatcher<ResourceId> where
    ResourceId: Unpin

impl<ResourceId> Sync for Dispatcher<ResourceId>

impl<ResourceId> Send for Dispatcher<ResourceId>

impl<ResourceId> !RefUnwindSafe for Dispatcher<ResourceId>

impl<ResourceId> !UnwindSafe for Dispatcher<ResourceId>

Blanket Implementations

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

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.

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

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

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

impl<T> Any for T where
    T: Any
[src]

impl<T> Erased for T