Trait nannou::mesh::Colors
[−]
[src]
pub trait Colors { type Color; type Colors: Channel<Element = Self::Color>; fn colors(&self) -> &Self::Colors; }
Meshes that contain a channel of colors.
Associated Types
type Color
The color type stored within the channel.
type Colors: Channel<Element = Self::Color>
The channel type containing colors.
Required Methods
Implementations on Foreign Types
impl<'a, M> Colors for &'a M where
M: Colors,
[src]
M: Colors,
impl<'a, M> Colors for &'a mut M where
M: Colors,
[src]
M: Colors,
impl<'a, M> Colors for Ref<'a, M> where
M: Colors,
[src]
M: Colors,
impl<'a, M> Colors for RefMut<'a, M> where
M: Colors,
[src]
M: Colors,
Implementors
impl<S> Colors for Mesh<S> type Color = Color; type Colors = Colors;
impl<M, C> Colors for WithColors<M, C> where
C: Channel, type Color = C::Element; type Colors = C;impl<M, I> Colors for WithIndices<M, I> where
M: Colors, type Color = M::Color; type Colors = M::Colors;impl<M, T, S> Colors for WithTexCoords<M, T, S> where
M: Colors, type Color = M::Color; type Colors = M::Colors;impl<M, N> Colors for WithNormals<M, N> where
M: Colors, type Color = M::Color; type Colors = M::Colors;