[][src]Trait nannou::mesh::PushVertex

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.

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

impl<M, V> PushVertex<V> for WithIndices<M, Vec<usize>> where
    M: PushVertex<V>, 
[src]

impl<M, V, C> PushVertex<WithColor<V, C>> for WithColors<M, Vec<C>> where
    M: PushVertex<V>, 
[src]

impl<M, V, N> PushVertex<WithNormal<V, N>> for WithNormals<M, Vec<N>> where
    M: PushVertex<V>, 
[src]

impl<M, V, T, S> PushVertex<WithTexCoords<V, T>> for WithTexCoords<M, Vec<T>, S> where
    M: PushVertex<V>, 
[src]

impl<S> PushVertex<WithTexCoords<WithColor<Vector3<S>, Alpha<Rgb<f32>, f32>>, Vector2<S>>> for Mesh<S>[src]

impl<V> PushVertex<V> for MeshPoints<Vec<V>>[src]

Loading content...