#[non_exhaustive]pub struct TickRecord { /* private fields */ }Expand description
A run of a TickSim: the stamp of the build that made it
(Made), the seed its state was built from, and the input of each
step, oldest first. Steps in a row with the same input are written once
with their count, so a minute of a dot held right is one line.
It holds what each step saw, after the driver gave each press and
release to its step, so it replays the same steps whatever frame rate
made it. Written as (made: …, seed: …, runs: [(steps: 30, input: (seats: [(held: [3])])), …]).
Implementations§
Trait Implementations§
Source§impl Clone for TickRecord
impl Clone for TickRecord
Source§fn clone(&self) -> TickRecord
fn clone(&self) -> TickRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TickRecord
impl Debug for TickRecord
Source§impl<'de> Deserialize<'de> for TickRecord
impl<'de> Deserialize<'de> for TickRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TickRecord
Source§impl PartialEq for TickRecord
impl PartialEq for TickRecord
Source§impl Serialize for TickRecord
impl Serialize for TickRecord
impl StructuralPartialEq for TickRecord
Auto Trait Implementations§
impl Freeze for TickRecord
impl RefUnwindSafe for TickRecord
impl Send for TickRecord
impl Sync for TickRecord
impl Unpin for TickRecord
impl UnsafeUnpin for TickRecord
impl UnwindSafe for TickRecord
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