Trait Vertex
sfml_rust::canvas
pub trait Vertex { fn position(&self) -> (f32, f32) { ... } fn color(&self) -> Option<(f32, f32, f32, f32)> { ... } }
Vertex trait for Drawable Vertices.
fn position(&self) -> (f32, f32)
fn color(&self) -> Option<(f32, f32, f32, f32)>
impl Vertex for ColoredVertex2D