pub type Body = Rc<dyn Fn(&mut Window, &mut App) -> AnyElement>;Expand description
Builds a surface body for one frame.
An AnyElement can be consumed once, while an open surface re-renders for
as long as it stays open, so the caller supplies a builder instead.
Aliased Typeยง
pub struct Body { /* private fields */ }