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

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

Required Associated Types§

source

type Scalar: Scalar

The values used to describe the vertex position.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<S> Vertex for [S; 2]
where S: Scalar,

§

type Scalar = S

source§

impl<S> Vertex for [S; 3]
where S: Scalar,

§

type Scalar = S

source§

impl<S> Vertex for (S, S)
where S: Scalar,

§

type Scalar = S

source§

impl<S> Vertex for (S, S, S)
where S: Scalar,

§

type Scalar = S

Implementors§