#[repr(C)]pub struct PamojaCoordinate {
pub latitude: f64,
pub longitude: f64,
}Expand description
A latitude and longitude in degrees.
Fields§
§latitude: f64Degrees north of the equator, negative for south.
longitude: f64Degrees east of the prime meridian, negative for west.
Trait Implementations§
Source§impl Clone for PamojaCoordinate
impl Clone for PamojaCoordinate
Source§fn clone(&self) -> PamojaCoordinate
fn clone(&self) -> PamojaCoordinate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaCoordinate
Source§impl From<PamojaCoordinate> for Coordinate
impl From<PamojaCoordinate> for Coordinate
Source§fn from(value: PamojaCoordinate) -> Self
fn from(value: PamojaCoordinate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PamojaCoordinate
impl RefUnwindSafe for PamojaCoordinate
impl Send for PamojaCoordinate
impl Sync for PamojaCoordinate
impl Unpin for PamojaCoordinate
impl UnsafeUnpin for PamojaCoordinate
impl UnwindSafe for PamojaCoordinate
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