Skip to main content

ViewFn

Type Alias ViewFn 

Source
pub type ViewFn<D> = Box<dyn FnMut(&mut Ui, &mut Cx<'_, D>)>;
Expand description

A view: draws the app’s UI each frame.

Aliased Type§

pub struct ViewFn<D>(/* private fields */);