[−][src]Trait nannou::mesh::GetVertex
Mesh types that can be indexed to produce a vertex.
Associated Types
type Vertex
The vertex type representing all channels of data within the mesh at a single index.
Required methods
fn get_vertex(&self, index: I) -> Option<Self::Vertex>
Create a vertex containing all channel properties for the given index.
Implementations on Foreign Types
impl<'a, M, I> GetVertex<I> for &'a M where
M: GetVertex<I>,
[src]
M: GetVertex<I>,
impl<'a, M, I> GetVertex<I> for &'a mut M where
M: GetVertex<I>,
[src]
M: GetVertex<I>,
impl<'a, M, I> GetVertex<I> for Ref<'a, M> where
M: GetVertex<I>,
[src]
M: GetVertex<I>,
impl<'a, M, I> GetVertex<I> for RefMut<'a, M> where
M: GetVertex<I>,
[src]
Loading content...M: GetVertex<I>,
Implementors
impl<M, C, I> GetVertex<I> for WithColors<M, C> where
M: GetVertex<I>,
C: Channel,
C::Element: Clone,
I: Copy + TryInto<usize>,
[src]
M: GetVertex<I>,
C: Channel,
C::Element: Clone,
I: Copy + TryInto<usize>,
type Vertex = WithColor<M::Vertex, C::Element>
fn get_vertex(&self, index: I) -> Option<Self::Vertex>
[src]
impl<M, I, Ix> GetVertex<Ix> for WithIndices<M, I> where
M: GetVertex<Ix>,
[src]
M: GetVertex<Ix>,
impl<M, N, I> GetVertex<I> for WithNormals<M, N> where
M: GetVertex<I>,
N: Channel,
N::Element: Clone,
I: Copy + TryInto<usize>,
[src]
M: GetVertex<I>,
N: Channel,
N::Element: Clone,
I: Copy + TryInto<usize>,
type Vertex = WithNormal<M::Vertex, N::Element>
fn get_vertex(&self, index: I) -> Option<Self::Vertex>
[src]
impl<M, T, I> GetVertex<I> for WithTexCoords<M, T> where
M: GetVertex<I>,
T: Channel,
T::Element: Clone,
I: Copy + TryInto<usize>,
[src]
M: GetVertex<I>,
T: Channel,
T::Element: Clone,
I: Copy + TryInto<usize>,
type Vertex = WithTexCoords<M::Vertex, T::Element>
fn get_vertex(&self, index: I) -> Option<Self::Vertex>
[src]
impl<P, I> GetVertex<I> for MeshPoints<P> where
P: Channel,
P::Element: Clone,
I: TryInto<usize>,
[src]
P: Channel,
P::Element: Clone,
I: TryInto<usize>,
impl<S> GetVertex<u32> for Mesh<S> where
S: Clone,
[src]
S: Clone,