pub struct Polygon2D {
pub points: Vec<Point2D>,
}Fields§
§points: Vec<Point2D>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Polygon2D
impl<'de> Deserialize<'de> for Polygon2D
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Message for Polygon2D
impl StructuralPartialEq for Polygon2D
Auto Trait Implementations§
impl Freeze for Polygon2D
impl RefUnwindSafe for Polygon2D
impl Send for Polygon2D
impl Sync for Polygon2D
impl Unpin for Polygon2D
impl UnwindSafe for Polygon2D
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