Enum conrod_gfx::Draw
source · pub enum Draw<'a> {
Image(Id, &'a [Vertex]),
Plain(&'a [Vertex]),
}
Expand description
A Command
for drawing to the target.
Each variant describes how to draw the contents of the vertex buffer.
Variants
Image(Id, &'a [Vertex])
A range of vertices representing triangles textured with the image in the
image_map at the given widget::Id
.
Plain(&'a [Vertex])
A range of vertices representing plain triangles.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Draw<'a>
impl<'a> Send for Draw<'a>
impl<'a> Sync for Draw<'a>
impl<'a> Unpin for Draw<'a>
impl<'a> UnwindSafe for Draw<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more