pub struct FilledPolygon {
pub vertices: Vec<(f64, f64)>,
pub color: Color,
}Expand description
A filled polygon
Fields§
§vertices: Vec<(f64, f64)>Vertices as (x, y) coordinates
color: ColorFill color
Implementations§
Trait Implementations§
Source§impl Clone for FilledPolygon
impl Clone for FilledPolygon
Source§fn clone(&self) -> FilledPolygon
fn clone(&self) -> FilledPolygon
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FilledPolygon
impl Debug for FilledPolygon
Auto Trait Implementations§
impl Freeze for FilledPolygon
impl RefUnwindSafe for FilledPolygon
impl Send for FilledPolygon
impl Sync for FilledPolygon
impl Unpin for FilledPolygon
impl UnsafeUnpin for FilledPolygon
impl UnwindSafe for FilledPolygon
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more