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

The color type stored within the channel.

The channel type containing colors.

Required Methods

Borrow the color channel from the mesh.

Implementations on Foreign Types

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

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

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

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

Implementors