Trait nannou::mesh::TexCoords [−][src]
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
[src]
The point type used to represent texture coordinates.
type TexCoords: Channel<Element = Self::TexCoord>
[src]
The channel type containing texture coordinates.
Required methods
fn tex_coords(&self) -> &Self::TexCoords
[src]
Borrow the texture coordinate channel from the mesh.
Implementations on Foreign Types
impl<'a, M> TexCoords for &'a M where
M: TexCoords,
[src]
M: TexCoords,
type TexCoord = M::TexCoord
type TexCoords = M::TexCoords
fn tex_coords(&self) -> &Self::TexCoords
[src]
impl<'a, M> TexCoords for &'a mut M where
M: TexCoords,
[src]
M: TexCoords,
type TexCoord = M::TexCoord
type TexCoords = M::TexCoords
fn tex_coords(&self) -> &Self::TexCoords
[src]
impl<'a, M> TexCoords for Ref<'a, M> where
M: TexCoords,
[src]
M: TexCoords,
type TexCoord = M::TexCoord
type TexCoords = M::TexCoords
fn tex_coords(&self) -> &Self::TexCoords
[src]
impl<'a, M> TexCoords for RefMut<'a, M> where
M: TexCoords,
[src]
M: TexCoords,
type TexCoord = M::TexCoord
type TexCoords = M::TexCoords
fn tex_coords(&self) -> &Self::TexCoords
[src]
Implementors
impl<M, C> TexCoords for WithColors<M, C> where
M: TexCoords,
[src]
M: TexCoords,
type TexCoord = M::TexCoord
type TexCoords = M::TexCoords
fn tex_coords(&self) -> &Self::TexCoords
[src]
impl<M, I> TexCoords for WithIndices<M, I> where
M: TexCoords,
[src]
M: TexCoords,
type TexCoord = M::TexCoord
type TexCoords = M::TexCoords
fn tex_coords(&self) -> &Self::TexCoords
[src]
impl<M, N> TexCoords for WithNormals<M, N> where
M: TexCoords,
[src]
M: TexCoords,
type TexCoord = M::TexCoord
type TexCoords = M::TexCoords
fn tex_coords(&self) -> &Self::TexCoords
[src]
impl<M, T> TexCoords for WithTexCoords<M, T> where
T: Channel,
[src]
T: Channel,