Trait Style
nannou::ui::prelude::widget::primitive::shape::triangles
pub trait Style: Style + Send + Clone { type Vertex: Vertex + Send; }
Unique styling types for Triangles.
Triangles
type Vertex: Vertex + Send
The type of vertices that make up the list of triangles for this style.
impl Style for MultiColor
type Vertex = ([f64; 2], Rgba)
impl Style for SingleColor
type Vertex = [f64; 2]