pub struct Polygon {
pub points: Vec<[f32; 2]>,
pub closed: bool,
pub style: Style,
}
Expand description
<path d="..." style="..."/>
Fields§
§points: Vec<[f32; 2]>
§closed: bool
§style: Style
Implementations§
Trait Implementations§
source§impl PartialEq for Polygon
impl PartialEq for Polygon
impl StructuralPartialEq for Polygon
Auto Trait Implementations§
impl RefUnwindSafe for Polygon
impl Send for Polygon
impl Sync for Polygon
impl Unpin for Polygon
impl UnwindSafe for Polygon
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