IClock
trait · ferroui-base · v0.5.0
trait IClock: IObservable<crate::animation::SignedDuration> + 'static
A source of animation time: an observable that produces the time elapsed since the clock started, once per frame.
Every timing decision in the animation system is derived from the values a clock produces; nothing reads a system timer.
Members
play_state
fn play_state(self: &Self) -> PlayState
The playback state of the clock.
set_play_state
fn set_play_state(self: &Self, value: PlayState)
Sets the playback state of the clock.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.