Type Definition nannou::geom::point::Point2 [−][src]
type Point2<S = Default> = Vector2<S>;
A 2-dimensional point type.
Trait Implementations
impl<S> IntoVertex<S> for Point2<S> where
S: BaseFloat,
[src]
impl<S> IntoVertex<S> for Point2<S> where
S: BaseFloat,
fn into_vertex(self) -> Vertex<S>
[src]
fn into_vertex(self) -> Vertex<S>
Convert self
into a Vertex.
impl<S> IntoPoint<S> for Point2<S> where
S: BaseFloat,
[src]
impl<S> IntoPoint<S> for Point2<S> where
S: BaseFloat,
fn into_point(self) -> Point<S>
[src]
fn into_point(self) -> Point<S>
Convert self into a Point
.
impl<S> Vertex for Point2<S> where
S: BaseNum,
[src]
impl<S> Vertex for Point2<S> where
S: BaseNum,
type Scalar = S
The values used to describe the vertex position.
impl<S> Vertex2d for Point2<S> where
S: BaseNum,
[src]
impl<S> Vertex2d for Point2<S> where
S: BaseNum,