pub struct PolygonDynamic {
pub polygon: Polygon,
pub timestamp: SystemTime,
}Fields§
§polygon: Polygon§timestamp: SystemTimeImplementations§
Source§impl PolygonDynamic
impl PolygonDynamic
pub fn new(polygon: Polygon, timestamp: SystemTime) -> Self
pub fn polygon(&self) -> &Polygon
pub fn timestamp(&self) -> &SystemTime
Trait Implementations§
Source§impl Clone for PolygonDynamic
impl Clone for PolygonDynamic
Source§fn clone(&self) -> PolygonDynamic
fn clone(&self) -> PolygonDynamic
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 PolygonDynamic
impl Debug for PolygonDynamic
Source§impl<'de> Deserialize<'de> for PolygonDynamic
impl<'de> Deserialize<'de> for PolygonDynamic
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 PolygonDynamic
impl PartialEq for PolygonDynamic
Source§impl Serialize for PolygonDynamic
impl Serialize for PolygonDynamic
impl StructuralPartialEq for PolygonDynamic
Auto Trait Implementations§
impl Freeze for PolygonDynamic
impl RefUnwindSafe for PolygonDynamic
impl Send for PolygonDynamic
impl Sync for PolygonDynamic
impl Unpin for PolygonDynamic
impl UnwindSafe for PolygonDynamic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more