# IGlobalClock

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/animation/trait-iglobalclock/

**trait** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
trait IGlobalClock: IClock
```

The clock that every animation without an explicit clock runs on.

It is registered with the service locator as `dyn IGlobalClock` and is
pulsed once per frame by the media context, on the UI thread, with the
time elapsed since the media context started.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/animation/i_global_clock.rs#L8)

## Trait implementations

- [`IGlobalClock`](/docs/0.5.0/api/ferroui-base/animation/trait-iglobalclock/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
