[][src]Struct nannou::app::SketchBuilder

pub struct SketchBuilder<E = Event> { /* fields omitted */ }

A nannou Sketch builder.


impl<E> SketchBuilder<E> where
    E: LoopEvent

pub fn size(self, width: u32, height: u32) -> Self[src]

The size of the sketch window.

pub fn run(self)[src]

Build and run a Sketch with the specified parameters.

This calls App::run internally. See that method for details!

Auto Trait Implementations

impl<E> RefUnwindSafe for SketchBuilder<E>

impl<E> Send for SketchBuilder<E>

impl<E> Sync for SketchBuilder<E>

impl<E> Unpin for SketchBuilder<E>

impl<E> UnwindSafe for SketchBuilder<E>

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> SetParameter for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,