Struct nannou::mesh::WithColors[][src]

pub struct WithColors<M, C> { /* fields omitted */ }

A Mesh type with an added channel containing colors.

Trait Implementations

impl<M: Copy, C: Copy> Copy for WithColors<M, C>
[src]

impl<M: Clone, C: Clone> Clone for WithColors<M, C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<M: Debug, C: Debug> Debug for WithColors<M, C>
[src]

Formats the value using the given formatter. Read more

impl<M: PartialEq, C: PartialEq> PartialEq for WithColors<M, C>
[src]

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

This method tests for !=.

impl<M, C> GetVertex for WithColors<M, C> where
    M: GetVertex,
    C: Channel,
    C::Element: Clone
[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<M, C> Points for WithColors<M, C> where
    M: Points
[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<M, C> Indices for WithColors<M, C> where
    M: Indices
[src]

The channel type containing indices.

Borrow the index channel from the mesh.

impl<M, C> Colors for WithColors<M, C> where
    C: Channel
[src]

The color type stored within the channel.

The channel type containing colors.

Borrow the color channel from the mesh.

impl<M, C> TexCoords for WithColors<M, C> where
    M: TexCoords
[src]

The scalar value used for the texture coordinates.

The channel type containing texture coordinates.

Borrow the texture coordinate channel from the mesh.

impl<M, C> Normals for WithColors<M, C> where
    M: Normals,
    M::Point: EuclideanSpace
[src]

The channel type containing vertex normals.

Borrow the normal channel from the mesh.

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

Push the given vertex onto the mesh. Read more

impl<M, C> PushIndex for WithColors<M, C> where
    M: PushIndex
[src]

Push a new index onto the indices channel.

Extend the Mesh's Indices channel with the given indices.

impl<M, C> ClearIndices for WithColors<M, C> where
    M: ClearIndices
[src]

Clear all indices from the mesh.

impl<M, C> ClearVertices for WithColors<M, Vec<C>> where
    M: ClearVertices
[src]

Clear all vertices from the mesh.

impl<M, C> Default for WithColors<M, C> where
    M: Default,
    C: Default
[src]

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

impl<M, C> Deref for WithColors<M, C>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<M, C> DerefMut for WithColors<M, C>
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<M, C> Send for WithColors<M, C> where
    C: Send,
    M: Send

impl<M, C> Sync for WithColors<M, C> where
    C: Sync,
    M: Sync