pub struct Recorded<T> {
pub time: i64,
pub value: T,
}Expand description
A value with the virtual time it was recorded at (Recorded<T>).
Fields§
§time: i64The virtual time (Time).
value: TThe value (Value).
Implementations§
Trait Implementations§
Source§impl<T> From<Recorded<Notification<T>>> for Recorded<Expected<T>>
impl<T> From<Recorded<Notification<T>>> for Recorded<Expected<T>>
Source§fn from(recorded: Recorded<Notification<T>>) -> Self
fn from(recorded: Recorded<Notification<T>>) -> Self
Converts to this type from the input type.
impl<T: PartialEq> StructuralPartialEq for Recorded<T>
Auto Trait Implementations§
impl<T> Freeze for Recorded<T>where
T: Freeze,
impl<T> RefUnwindSafe for Recorded<T>where
T: RefUnwindSafe,
impl<T> Send for Recorded<T>where
T: Send,
impl<T> Sync for Recorded<T>where
T: Sync,
impl<T> Unpin for Recorded<T>where
T: Unpin,
impl<T> UnsafeUnpin for Recorded<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Recorded<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