[−][src]Trait nannou::mesh::PushVertex
Meshes that can push vertices of type V while keeping all non-index channels the same length before and after the push.
Required methods
fn push_vertex(&mut self, vertex: V)
Push the given vertex onto the mesh.
Implementation requires that all non-index channels maintain the same length before and after a call to this method.
Implementations on Foreign Types
impl<'a, M, V> PushVertex<V> for &'a mut M where
M: PushVertex<V>,
[src]
M: PushVertex<V>,
fn push_vertex(&mut self, v: V)
[src]
impl<'a, M, V> PushVertex<V> for RefMut<'a, M> where
M: PushVertex<V>,
[src]
M: PushVertex<V>,
fn push_vertex(&mut self, v: V)
[src]
Implementors
impl<M, V> PushVertex<V> for WithIndices<M, Vec<usize>> where
M: PushVertex<V>,
[src]
M: PushVertex<V>,
fn push_vertex(&mut self, v: V)
[src]
impl<M, V, C> PushVertex<WithColor<V, C>> for WithColors<M, Vec<C>> where
M: PushVertex<V>,
[src]
M: PushVertex<V>,
fn push_vertex(&mut self, v: WithColor<V, C>)
[src]
impl<M, V, N> PushVertex<WithNormal<V, N>> for WithNormals<M, Vec<N>> where
M: PushVertex<V>,
[src]
M: PushVertex<V>,
fn push_vertex(&mut self, v: WithNormal<V, N>)
[src]
impl<M, V, T, S> PushVertex<WithTexCoords<V, T>> for WithTexCoords<M, Vec<T>, S> where
M: PushVertex<V>,
[src]
M: PushVertex<V>,