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§

source

type Value

Value.

Required Methods§

source

fn tick(&self) -> Tick

Get the tick.

source

fn value(&self) -> &Self::Value

Get the value.

source

fn into_tick_value(self) -> TickValue<Self::Value>

Convert into a TickValue.

Implementors§

source§

impl<T> Tickable for TickValue<T>

§

type Value = T