Tick
Tick
- tick : u32
Description
A value that tracks when a system ran relative to other systems. This is used to power change detection.
Note that a system that hasn't been run yet has a
Tick
of 0.
Functions
Function | Summary |
---|---|
assert_receiver_is_total_eq(_self) | No Documentation 🚧 |
clone(_self) | No Documentation 🚧 |
eq(_self, other) | No Documentation 🚧 |
get(_self) | Gets the value of this change tick. |
is_newer_than(_self, last_run, this_run) | Returns `true` if this `Tick` occurred since the system's `last_run`. `this_run` is the current ti |
new(tick) | Creates a new [`Tick`] wrapping the given value. |
set(_self, tick) | Sets the value of this change tick. |