Skip to main content

Module frame

Module frame 

Expand description

The workspace’s presence as state of the frame: the host lends it around the pass every widget gets whether or not it is drawn (crate::widget::Widget::update), so a widget that is not on screen still knows who is here.

Functions§

frame
Read this frame’s presence, if a host lent one (lend).
lend
Run pass with presence as this frame’s presence (frame).