[][src]Struct quicksilver::graphics::Mesh

pub struct Mesh {
    pub vertices: Vec<Vertex>,
    pub elements: Vec<Element>,
    pub image: Option<Image>,
}

A way to store rendered objects without having to re-process them

Fields

vertices: Vec<Vertex>

All the vertices in the mesh

elements: Vec<Element>

The properties that define the elements to draw

image: Option<Image>

If the vertices reference an image, this is the image they will use

Auto Trait Implementations

impl !RefUnwindSafe for Mesh

impl !Send for Mesh

impl !Sync for Mesh

impl Unpin for Mesh

impl !UnwindSafe for Mesh

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, 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.