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

pub trait Vertex2d: Vertex {
    fn point2(self) -> Point2<Self::Scalar>;
}

Vertex types that have at least 2 dimensions.

Required methods

fn point2(self) -> Point2<Self::Scalar>

The x, y location of the vertex.

Loading content...

Implementations on Foreign Types

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

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

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

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

Loading content...

Implementors

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

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

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

impl<V, C> Vertex2d for WithColor<V, C> where
    V: Vertex2d,
    Self: Vertex<Scalar = V::Scalar>, 
[src]

impl<V, N> Vertex2d for WithNormal<V, N> where
    V: Vertex2d,
    Self: Vertex<Scalar = V::Scalar>, 
[src]

impl<V, T> Vertex2d for WithTexCoords<V, T> where
    V: Vertex2d,
    Self: Vertex<Scalar = V::Scalar>, 
[src]

Loading content...