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
type Scalar: BaseNum
The scalar value used for the vertex coordinates.
type Point: Vertex<Scalar = Self::Scalar>
The vertex type used to represent the location of a vertex.
type Points: Channel<Element = Self::Point>
The channel type containing points.
Required Methods
Implementations on Foreign Types
impl<'a, M> Points for &'a M where
M: Points,
[src]
impl<'a, M> Points for &'a M where
M: Points,
impl<'a, M> Points for &'a mut M where
M: Points,
[src]
impl<'a, M> Points for &'a mut M where
M: Points,
impl<'a, M> Points for Ref<'a, M> where
M: Points,
[src]
impl<'a, M> Points for Ref<'a, M> where
M: Points,
impl<'a, M> Points for RefMut<'a, M> where
M: Points,
[src]
impl<'a, M> Points for RefMut<'a, M> where
M: Points,
Implementors
impl<S> Points for Mesh<S> where
S: BaseNum, type Scalar = S; type Point = Point<S>; type Points = Points<S>;impl<P> Points for MeshPoints<P> where
P: Channel,
P::Element: Vertex, type Scalar = <P::Element as Vertex>::Scalar; type Point = P::Element; type Points = P;impl<M, I> Points for WithIndices<M, I> where
M: Points, type Scalar = M::Scalar; type Point = M::Point; type Points = M::Points;impl<M, C> Points for WithColors<M, C> where
M: Points, type Scalar = M::Scalar; type Point = M::Point; type Points = M::Points;impl<M, T, S> Points for WithTexCoords<M, T, S> where
M: Points, type Scalar = M::Scalar; type Point = M::Point; type Points = M::Points;impl<M, N> Points for WithNormals<M, N> where
M: Points, type Scalar = M::Scalar; type Point = M::Point; type Points = M::Points;