Enum nannou::draw::DrawCommand[][src]

pub enum DrawCommand<S = Default> {
    Primitive(Primitive<S>),
    Context(Context<S>),
}

Commands generated by drawings.

During rendering, the list of DrawCommands are converted into a list of RenderCommands that are directly associated with encodable render pass commands.

Variants

Primitive(Primitive<S>)

Draw a primitive.

Context(Context<S>)

A change in the rendering context occurred.

Trait Implementations

impl<S: Clone> Clone for DrawCommand<S>[src]

impl<S: Debug> Debug for DrawCommand<S>[src]

Auto Trait Implementations

impl<S = f32> !RefUnwindSafe for DrawCommand<S>

impl<S> Send for DrawCommand<S> where
    S: Send

impl<S> Sync for DrawCommand<S> where
    S: Sync

impl<S> Unpin for DrawCommand<S> where
    S: Unpin

impl<S = f32> !UnwindSafe for DrawCommand<S>

Blanket Implementations

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

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> Downcast<T> for T

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Upcast<T> for T

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