Trait nannou::mesh::PushVertex
[−]
[src]
pub trait PushVertex<V> { fn push_vertex(&mut self, vertex: V); }
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<S> PushVertex<Vertex<S>> for Mesh<S>
impl<V> PushVertex<V> for MeshPoints<Vec<V>>
impl<M, V> PushVertex<V> for WithIndices<M, Vec<usize>> where
M: PushVertex<V>,impl<M, V, C> PushVertex<WithColor<V, C>> for WithColors<M, Vec<C>> where
M: PushVertex<V>,impl<M, V, T, S> PushVertex<WithTexCoords<V, T>> for WithTexCoords<M, Vec<T>, S> where
M: PushVertex<V>,impl<M, V, N> PushVertex<WithNormal<V, N>> for WithNormals<M, Vec<N>> where
M: PushVertex<V>,