pub type ViewFn<D> = Box<dyn FnMut(&mut Ui, &mut Cx<'_, D>)>;
A view: draws the app’s UI each frame.
pub struct ViewFn<D>(/* private fields */);