pub trait Tickable {
type Value;
// Required methods
fn tick(&self) -> Tick;
fn value(&self) -> &Self::Value;
fn into_tick_value(self) -> TickValue<Self::Value>;
}
Expand description
Type that has tick.
Required Associated Types§
Required Methods§
sourcefn into_tick_value(self) -> TickValue<Self::Value>
fn into_tick_value(self) -> TickValue<Self::Value>
Convert into a TickValue
.