Struct nannou::mesh::WithNormals[][src]

pub struct WithNormals<M, N> { /* fields omitted */ }

A Mesh type with an added channel containing vertex normals.

Trait Implementations

impl<M: Copy, N: Copy> Copy for WithNormals<M, N>
[src]

impl<M: Clone, N: Clone> Clone for WithNormals<M, N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<M: Debug, N: Debug> Debug for WithNormals<M, N>
[src]

Formats the value using the given formatter. Read more

impl<M: PartialEq, N: PartialEq> PartialEq for WithNormals<M, N>
[src]

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

This method tests for !=.

impl<M, N> GetVertex for WithNormals<M, N> where
    M: GetVertex,
    N: Channel,
    N::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, N> Points for WithNormals<M, N> 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, N> Indices for WithNormals<M, N> where
    M: Indices
[src]

The channel type containing indices.

Borrow the index channel from the mesh.

impl<M, N> Colors for WithNormals<M, N> where
    M: Colors
[src]

The color type stored within the channel.

The channel type containing colors.

Borrow the color channel from the mesh.

impl<M, N> TexCoords for WithNormals<M, N> 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, N> Normals for WithNormals<M, N> where
    M: Points,
    M::Point: EuclideanSpace,
    N: Channel<Element = <M::Point as EuclideanSpace>::Diff>, 
[src]

The channel type containing vertex normals.

Borrow the normal channel from the mesh.

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

Push the given vertex onto the mesh. Read more

impl<M, N> PushIndex for WithNormals<M, N> where
    M: PushIndex
[src]

Push a new index onto the indices channel.

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

impl<M, N> ClearIndices for WithNormals<M, N> where
    M: ClearIndices
[src]

Clear all indices from the mesh.

impl<M, N> ClearVertices for WithNormals<M, Vec<N>> where
    M: ClearVertices
[src]

Clear all vertices from the mesh.

impl<M, N> Default for WithNormals<M, N> where
    M: Default,
    N: Default
[src]

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

impl<M, N> Deref for WithNormals<M, N>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<M, N> DerefMut for WithNormals<M, N>
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<M, N> Send for WithNormals<M, N> where
    M: Send,
    N: Send

impl<M, N> Sync for WithNormals<M, N> where
    M: Sync,
    N: Sync