Function nannou::app [−][src]
pub fn app<M, E>(
model: ModelFn<M>,
event: EventFn<M, E>,
view: ViewFn<M>
) -> Builder<M, E> where
E: LoopEvent,
Begin building a nannou App.
Every nannou App must have model
, event
and draw
functions.
An exit
function can be optionally specified using the exit
builder method.