mirui 0.11.0

A lightweight, no_std ECS-driven UI framework for embedded, desktop, and WebAssembly
Documentation
1
2
3
4
5
6
7
8
9
/// Delta time between frames (seconds)
pub struct DeltaTime(pub f32);

/// Delta time in integer milliseconds — avoids floating point in
/// animation hot paths on targets without an FPU.
pub struct DeltaTimeMs(pub u16);

/// Total elapsed time since app start (seconds)
pub struct ElapsedTime(pub f32);