Struct ofdb_boundary::Coordinate
source · pub struct Coordinate {
pub lat: f64,
pub lng: f64,
}
Fields§
§lat: f64
§lng: f64
Trait Implementations§
source§impl<'de> Deserialize<'de> for Coordinate
impl<'de> Deserialize<'de> for Coordinate
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 From<Coordinate> for MapPoint
impl From<Coordinate> for MapPoint
source§fn from(c: Coordinate) -> Self
fn from(c: Coordinate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Coordinate
impl Send for Coordinate
impl Sync for Coordinate
impl Unpin for Coordinate
impl UnwindSafe for Coordinate
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