Struct nannou::app::Draw[][src]

pub struct Draw<'a> { /* fields omitted */ }

A nannou::Draw instance owned by the App. A simple API for sketching with 2D and 3D graphics.

This is a conveniently accessible Draw instance which can be easily re-used between calls to an app's view function.

Methods

impl<'a> Draw<'a>
[src]

Draw the current state of the inner mesh to the given frame.

Methods from Deref<Target = RefMut<'a, Draw<DrawScalar>>>

Trait Implementations

impl<'a> Debug for Draw<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Deref for Draw<'a>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<'a> DerefMut for Draw<'a>
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<'a> !Send for Draw<'a>

impl<'a> !Sync for Draw<'a>