pub type LiveFn = Rc<dyn Fn(Rect, f64, &mut Scene)>;Expand description
Drawing that changes over time: receives the element’s frame and the clock in seconds. It runs on paint-only frames, at most 60 times a second, for as long as the view is built. With reduced motion it runs once, at time zero.
Aliased Type§
pub struct LiveFn { /* private fields */ }