pub struct PolygonParams {
pub points: Vec<(f64, f64)>,
}
Fields§
§points: Vec<(f64, f64)>
Trait Implementations§
source§impl Clone for PolygonParams
impl Clone for PolygonParams
source§fn clone(&self) -> PolygonParams
fn clone(&self) -> PolygonParams
Returns a copy 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 PolygonParams
impl Debug for PolygonParams
source§impl<'de> Deserialize<'de> for PolygonParams
impl<'de> Deserialize<'de> for PolygonParams
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
source§impl PartialEq for PolygonParams
impl PartialEq for PolygonParams
source§fn eq(&self, other: &PolygonParams) -> bool
fn eq(&self, other: &PolygonParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PolygonParams
impl Serialize for PolygonParams
impl StructuralPartialEq for PolygonParams
Auto Trait Implementations§
impl Freeze for PolygonParams
impl RefUnwindSafe for PolygonParams
impl Send for PolygonParams
impl Sync for PolygonParams
impl Unpin for PolygonParams
impl UnwindSafe for PolygonParams
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