pub struct DataPoint<Time, Data>{
pub time: Time,
pub data: Data,
}
Fields§
§time: Time
§data: Data
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Time, Data> Freeze for DataPoint<Time, Data>
impl<Time, Data> RefUnwindSafe for DataPoint<Time, Data>where
Time: RefUnwindSafe,
Data: RefUnwindSafe,
impl<Time, Data> Send for DataPoint<Time, Data>
impl<Time, Data> Sync for DataPoint<Time, Data>
impl<Time, Data> Unpin for DataPoint<Time, Data>
impl<Time, Data> UnwindSafe for DataPoint<Time, Data>where
Time: UnwindSafe,
Data: 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