Trait nannou::mesh::Points[][src]

pub trait Points {
    type Scalar: BaseNum;
    type Point: Vertex<Scalar = Self::Scalar>;
    type Points: Channel<Element = Self::Point>;
    fn points(&self) -> &Self::Points;
}

All meshes must contain at least one vertex channel.

Associated Types

The scalar value used for the vertex coordinates.

The vertex type used to represent the location of a vertex.

The channel type containing points.

Required Methods

Borrow the vertex channel from the mesh.

Implementations on Foreign Types

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

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

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

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

Implementors