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

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

fn point(&self) -> Point

The x y location of the vertex.

fn add(self, _: Point) -> Self

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

Loading content...

Implementors

impl Vertex for Point[src]

impl Vertex for ColoredPoint[src]

Loading content...