Trait conrod::widget::primitive::shape::triangles::Vertex[][src]

pub trait Vertex: Clone + Copy + PartialEq {
    fn point(&self) -> Point;
fn add(self, _: Point) -> Self; }

Types used as vertices that make up a list of triangles.

Required Methods

The x y location of the vertex.

Add the given vector onto the position of self and return the result.

Implementors