pub struct Tick {
pub index: u64,
pub timestamp: f64,
pub data: Vec<(String, f64)>,
}Expand description
A single tick: timestamp + all sensor values.
Fields§
§index: u64Monotonic tick index.
timestamp: f64Timestamp in seconds since engine start (or epoch).
data: Vec<(String, f64)>Sensor readings: (name, value).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tick
impl RefUnwindSafe for Tick
impl Send for Tick
impl Sync for Tick
impl Unpin for Tick
impl UnsafeUnpin for Tick
impl UnwindSafe for Tick
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