pub struct Schedule<E> {
pub at: GlobalTick,
pub event: E,
}Expand description
Owned scheduling work returned by a clocked component.
Fields§
§at: GlobalTick§event: ETrait Implementations§
impl<E: Eq> Eq for Schedule<E>
impl<E: PartialEq> StructuralPartialEq for Schedule<E>
Auto Trait Implementations§
impl<E> Freeze for Schedule<E>where
E: Freeze,
impl<E> RefUnwindSafe for Schedule<E>where
E: RefUnwindSafe,
impl<E> Send for Schedule<E>where
E: Send,
impl<E> Sync for Schedule<E>where
E: Sync,
impl<E> Unpin for Schedule<E>where
E: Unpin,
impl<E> UnsafeUnpin for Schedule<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for Schedule<E>where
E: UnwindSafe,
Blanket Implementations§
Source§impl<D> Apply<PushToStack<()>> for D
impl<D> Apply<PushToStack<()>> for D
Source§fn apply(&mut self, _: PushToStack<()>)
fn apply(&mut self, _: PushToStack<()>)
Apply a single effect to this destination.
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.