Skip to main content

FRAME

Constant FRAME 

Source
pub const FRAME: Duration;
Expand description

Repaint cadence for continuously changing values (mid-flight tweens, gradient spins): fast enough to read as motion in a terminal, slow enough to stay cheap. Pass now + FRAME to crate::PaintCtx::wake.