pub struct LatLon {
pub lat_deg: f32,
pub lon_deg: f32,
}Expand description
A geographic coordinate in degrees of latitude and longitude.
Fields§
§lat_deg: f32Latitude in degrees (-90 to 90).
lon_deg: f32Longitude in degrees (-180 to 180).
Implementations§
Trait Implementations§
impl Copy for LatLon
impl StructuralPartialEq for LatLon
Auto Trait Implementations§
impl Freeze for LatLon
impl RefUnwindSafe for LatLon
impl Send for LatLon
impl Sync for LatLon
impl Unpin for LatLon
impl UnsafeUnpin for LatLon
impl UnwindSafe for LatLon
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