pub struct TornTerritoryCoordinates {
pub x: f64,
pub y: f64,
}
Fields§
§x: f64
§y: f64
Trait Implementations§
Source§impl Clone for TornTerritoryCoordinates
impl Clone for TornTerritoryCoordinates
Source§fn clone(&self) -> TornTerritoryCoordinates
fn clone(&self) -> TornTerritoryCoordinates
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TornTerritoryCoordinates
impl Debug for TornTerritoryCoordinates
Source§impl<'de> Deserialize<'de> for TornTerritoryCoordinates
impl<'de> Deserialize<'de> for TornTerritoryCoordinates
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 TornTerritoryCoordinates
impl PartialEq for TornTerritoryCoordinates
Source§fn eq(&self, other: &TornTerritoryCoordinates) -> bool
fn eq(&self, other: &TornTerritoryCoordinates) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TornTerritoryCoordinates
Auto Trait Implementations§
impl Freeze for TornTerritoryCoordinates
impl RefUnwindSafe for TornTerritoryCoordinates
impl Send for TornTerritoryCoordinates
impl Sync for TornTerritoryCoordinates
impl Unpin for TornTerritoryCoordinates
impl UnwindSafe for TornTerritoryCoordinates
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