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

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

All meshes must contain at least one vertex channel.

Associated Types

type Point

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

type Points: Channel<Element = Self::Point>

The channel type containing points.

Loading content...

Required methods

fn points(&self) -> &Self::Points

Borrow the vertex channel from the mesh.

Loading content...

Implementations on Foreign Types

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

type Point = M::Point

type Points = M::Points

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

type Point = M::Point

type Points = M::Points

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

type Point = M::Point

type Points = M::Points

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

type Point = M::Point

type Points = M::Points

Loading content...

Implementors

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

type Point = M::Point

type Points = M::Points

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

type Point = M::Point

type Points = M::Points

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

type Point = M::Point

type Points = M::Points

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

type Point = M::Point

type Points = M::Points

impl<P> Points for MeshPoints<P> where
    P: Channel
[src]

type Point = P::Element

type Points = P

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

type Point = Point<S>

type Points = Points<S>

Loading content...