Struct nannou::Builder
[−]
[src]
pub struct Builder<M, E> { /* fields omitted */ }
A nannou application builder.
Methods
impl<M, E> Builder<M, E> where
E: LoopEvent,
[src]
E: LoopEvent,
pub fn exit(self, exit: ExitFn<M>) -> Self
[src]
Specify an exit
function to be called when the application exits.
The exit function gives ownership of the model back to the user.
pub fn run_window(self)
[src]
Creates and runs the nannou App
with a default window.
pub fn run(self)
[src]
Creates and runs the nannou App
.