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
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.
Implementors
impl Vertex for Point
impl Vertex for ColoredPoint