Trait nannou::mesh::GetVertex[][src]

pub trait GetVertex {
    type Vertex;
    fn get_vertex(&self, index: usize) -> Option<Self::Vertex>;
}

Mesh types that can be indexed to produce a vertex.

Associated Types

The vertex type representing all channels of data within the mesh at a single index.

Required Methods

Create a vertex containing all channel properties for the given index.

Implementations on Foreign Types

impl<'a, M> GetVertex for &'a M where
    M: GetVertex
[src]

impl<'a, M> GetVertex for &'a mut M where
    M: GetVertex
[src]

impl<'a, M> GetVertex for Ref<'a, M> where
    M: GetVertex
[src]

impl<'a, M> GetVertex for RefMut<'a, M> where
    M: GetVertex
[src]

Implementors