Skip to main content

frame_now

Function frame_now 

pub fn frame_now() -> Instant
Expand description

The instant a motion is read at: the frame’s, while its layout is pinned (pin_frame), else now. A widget that sizes itself by a motion (a disclosure opening) reads it here, so every layout pass of one frame sees the same pose and the frame’s composition can settle; read at the clock, each pass saw the motion a little further on and the passes never agreed.