pub struct Plan<T> {
pub time: f64,
pub data: T,
}
Expand description
A plan that holds data of type T
intended to be used at the specified time
Fields§
§time: f64
§data: T
Auto Trait Implementations§
impl<T> Freeze for Plan<T>where
T: Freeze,
impl<T> RefUnwindSafe for Plan<T>where
T: RefUnwindSafe,
impl<T> Send for Plan<T>where
T: Send,
impl<T> Sync for Plan<T>where
T: Sync,
impl<T> Unpin for Plan<T>where
T: Unpin,
impl<T> UnwindSafe for Plan<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