Struct graphics::polygon::Polygon [−][src]
pub struct Polygon {
pub color: Color,
}Expand description
A polygon
Fields
color: ColorThe color of the polygon
Implementations
Draws polygon using the default method.
Draws polygon using triangulation.
Draws tweened polygon with linear interpolation, using default method.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Polygon
impl UnwindSafe for Polygon
Blanket Implementations
Mutably borrows from an owned value. Read more