Struct nannou::mesh::MeshPoints[][src]

pub struct MeshPoints<P> { /* fields omitted */ }

The base mesh type with only a single vertex channel.

Extra channels can be added to the mesh via the WithIndices, WithColors, WithTexCoords and WithNormals adaptor types.

Trait Implementations

impl<P: Copy> Copy for MeshPoints<P>
[src]

impl<P: Clone> Clone for MeshPoints<P>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<P: Debug> Debug for MeshPoints<P>
[src]

Formats the value using the given formatter. Read more

impl<P: PartialEq> PartialEq for MeshPoints<P>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<P> GetVertex for MeshPoints<P> where
    P: Channel,
    P::Element: Vertex
[src]

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

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

impl<P> Points for MeshPoints<P> where
    P: Channel,
    P::Element: Vertex
[src]

The scalar value used for the vertex coordinates.

The vertex type used to represent the location of a vertex.

The channel type containing points.

Borrow the vertex channel from the mesh.

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

Push the given vertex onto the mesh. Read more

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

Clear all vertices from the mesh.

impl<P> Default for MeshPoints<P> where
    P: Default
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<P> Send for MeshPoints<P> where
    P: Send

impl<P> Sync for MeshPoints<P> where
    P: Sync