[][src]Enum conrod_core::mesh::Draw

pub enum Draw {
    Image(IdRange<usize>),
    Plain(Range<usize>),
}

A Command for drawing to the target.

Each variant describes how to draw the contents of the vertex buffer.

Variants

Image(IdRange<usize>)

A range of vertices representing triangles textured with the image in the image_map at the given widget::Id.

Plain(Range<usize>)

A range of vertices representing plain triangles.

Trait Implementations

impl Clone for Draw[src]

impl Debug for Draw[src]

Auto Trait Implementations

impl RefUnwindSafe for Draw

impl Send for Draw

impl Sync for Draw

impl Unpin for Draw

impl UnwindSafe for Draw

Blanket Implementations

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> From<T> for T[src]

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

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.