pub struct SleepAsync<T: Bag> { /* private fields */ }
Expand description
A simple asynchronous input handler that sleeps until the next state transition of the model.
Implementations§
Trait Implementations§
Source§impl<T: Bag> AsyncInput for SleepAsync<T>
impl<T: Bag> AsyncInput for SleepAsync<T>
Auto Trait Implementations§
impl<T> Freeze for SleepAsync<T>
impl<T> RefUnwindSafe for SleepAsync<T>where
T: RefUnwindSafe,
impl<T> Send for SleepAsync<T>where
T: Send,
impl<T> Sync for SleepAsync<T>where
T: Sync,
impl<T> Unpin for SleepAsync<T>where
T: Unpin,
impl<T> UnwindSafe for SleepAsync<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more