[][src]Trait nannou::geom::vertex::Vertex

pub trait Vertex: Clone + Copy + PartialEq {
    type Scalar: BaseNum;
}

Types used as vertices that can be used to describe geometric points in space.

Associated Types

type Scalar: BaseNum

The values used to describe the vertex position.

Loading content...

Implementations on Foreign Types

impl<S> Vertex for [S; 2] where
    S: BaseNum
[src]

type Scalar = S

impl<S> Vertex for [S; 3] where
    S: BaseNum
[src]

type Scalar = S

impl<S> Vertex for (S, S) where
    S: BaseNum
[src]

type Scalar = S

impl<S> Vertex for (S, S, S) where
    S: BaseNum
[src]

type Scalar = S

Loading content...

Implementors

impl<S> Vertex for Point2<S> where
    S: BaseNum
[src]

type Scalar = S

impl<S> Vertex for Point3<S> where
    S: BaseNum
[src]

type Scalar = S

impl<V> Vertex for Rgba<V> where
    V: Vertex
[src]

type Scalar = V::Scalar

impl<V, C> Vertex for WithColor<V, C> where
    V: Vertex,
    C: Clone + Copy + PartialEq
[src]

type Scalar = V::Scalar

impl<V, N> Vertex for WithNormal<V, N> where
    V: Vertex,
    N: Clone + Copy + PartialEq
[src]

type Scalar = V::Scalar

impl<V, T> Vertex for WithTexCoords<V, T> where
    V: Vertex,
    T: Clone + Copy + PartialEq
[src]

type Scalar = V::Scalar

Loading content...