[][src]Trait nannou::mesh::TexCoords

pub trait TexCoords {
    type TexCoord;
    type TexCoords: Channel<Element = Self::TexCoord>;
    fn tex_coords(&self) -> &Self::TexCoords;
}

Meshes that contain a channel of texture coordinates.

Associated Types

type TexCoord

The point type used to represent texture coordinates.

type TexCoords: Channel<Element = Self::TexCoord>

The channel type containing texture coordinates.

Loading content...

Required methods

fn tex_coords(&self) -> &Self::TexCoords

Borrow the texture coordinate channel from the mesh.

Loading content...

Implementations on Foreign Types

impl<'a, M> TexCoords for &'a M where
    M: TexCoords
[src]

type TexCoord = M::TexCoord

type TexCoords = M::TexCoords

impl<'a, M> TexCoords for &'a mut M where
    M: TexCoords
[src]

type TexCoord = M::TexCoord

type TexCoords = M::TexCoords

impl<'a, M> TexCoords for Ref<'a, M> where
    M: TexCoords
[src]

type TexCoord = M::TexCoord

type TexCoords = M::TexCoords

impl<'a, M> TexCoords for RefMut<'a, M> where
    M: TexCoords
[src]

type TexCoord = M::TexCoord

type TexCoords = M::TexCoords

Loading content...

Implementors

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

type TexCoord = M::TexCoord

type TexCoords = M::TexCoords

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

type TexCoord = M::TexCoord

type TexCoords = M::TexCoords

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

type TexCoord = M::TexCoord

type TexCoords = M::TexCoords

impl<M, T> TexCoords for WithTexCoords<M, T> where
    T: Channel
[src]

type TexCoord = T::Element

type TexCoords = T

impl<S> TexCoords for Mesh<S>[src]

type TexCoord = Point2<S>

type TexCoords = TexCoords<S>

Loading content...