Struct nannou::mesh::WithIndices[][src]

pub struct WithIndices<M, I> { /* fields omitted */ }

A mesh type with an added channel containing indices describing the edges between vertices.

Trait Implementations

impl<M: Copy, I: Copy> Copy for WithIndices<M, I>
[src]

impl<M: Clone, I: Clone> Clone for WithIndices<M, I>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<M: Debug, I: Debug> Debug for WithIndices<M, I>
[src]

Formats the value using the given formatter. Read more

impl<M: PartialEq, I: PartialEq> PartialEq for WithIndices<M, I>
[src]

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

This method tests for !=.

impl<M, I> GetVertex for WithIndices<M, I> where
    M: GetVertex
[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, I> Points for WithIndices<M, I> 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, I> Indices for WithIndices<M, I> where
    I: Channel<Element = usize>, 
[src]

The channel type containing indices.

Borrow the index channel from the mesh.

impl<M, I> Colors for WithIndices<M, I> 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, I> TexCoords for WithIndices<M, I> 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, I> Normals for WithIndices<M, I> where
    M: Normals,
    M::Point: EuclideanSpace
[src]

The channel type containing vertex normals.

Borrow the normal channel from the mesh.

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

Push the given vertex onto the mesh. Read more

impl<M> PushIndex for WithIndices<M, Vec<usize>>
[src]

Push a new index onto the indices channel.

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

impl<M> ClearIndices for WithIndices<M, Vec<usize>>
[src]

Clear all indices from the mesh.

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

Clear all vertices from the mesh.

impl<M, I> Default for WithIndices<M, I> where
    M: Default,
    I: Default
[src]

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

impl<M, I> Deref for WithIndices<M, I>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<M, I> DerefMut for WithIndices<M, I>
[src]

Mutably dereferences the value.

Auto Trait Implementations

impl<M, I> Send for WithIndices<M, I> where
    I: Send,
    M: Send

impl<M, I> Sync for WithIndices<M, I> where
    I: Sync,
    M: Sync