Struct nannou::mesh::vertex::WithTexCoords[][src]

pub struct WithTexCoords<V, T = Point2<DefaultScalar>> {
    pub vertex: V,
    pub tex_coords: T,
}

A vertex with some specified texture coordinates.

Fields

Trait Implementations

impl<V: Copy, T: Copy> Copy for WithTexCoords<V, T>
[src]

impl<V: Clone, T: Clone> Clone for WithTexCoords<V, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<V: Debug, T: Debug> Debug for WithTexCoords<V, T>
[src]

Formats the value using the given formatter. Read more

impl<V: Default, T: Default> Default for WithTexCoords<V, T>
[src]

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

impl<V: PartialEq, T: PartialEq> PartialEq for WithTexCoords<V, T>
[src]

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

This method tests for !=.

impl<S, V, T> ApplyTransform<S> for WithTexCoords<V, T> where
    V: ApplyTransform<S>,
    S: BaseFloat
[src]

Apply the given transform and return the result.

impl<V, T> Deref for WithTexCoords<V, T>
[src]

The resulting type after dereferencing.

Dereferences the value.

impl<V, T> DerefMut for WithTexCoords<V, T>
[src]

Mutably dereferences the value.

impl<V, T> Vertex for WithTexCoords<V, T> where
    V: Vertex,
    T: Clone + Copy + PartialEq
[src]

The values used to describe the vertex position.

impl<V, T> Vertex2d for WithTexCoords<V, T> where
    V: Vertex2d,
    Self: Vertex<Scalar = V::Scalar>, 
[src]

The x, y location of the vertex.

impl<V, T> Vertex3d for WithTexCoords<V, T> where
    V: Vertex3d,
    Self: Vertex<Scalar = V::Scalar>, 
[src]

The x, y, z location of the vertex.

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

Push the given vertex onto the mesh. Read more

Auto Trait Implementations

impl<V, T> Send for WithTexCoords<V, T> where
    T: Send,
    V: Send

impl<V, T> Sync for WithTexCoords<V, T> where
    T: Sync,
    V: Sync