pub struct Geo {
pub lat: f64,
pub lon: f64,
}Expand description
A latitude-longitude pair of geographic coordinates (RFC 5545 §3.8.1.6).
Both latitude and longitude are stored as f64, which provides sufficient precision
for the six decimal places specified by RFC 5545 (accuracy to within one meter).
Fields§
§lat: f64§lon: f64Trait Implementations§
Source§impl PartialOrd for Geo
impl PartialOrd for Geo
impl Copy for Geo
impl StructuralPartialEq for Geo
Auto Trait Implementations§
impl Freeze for Geo
impl RefUnwindSafe for Geo
impl Send for Geo
impl Sync for Geo
impl Unpin for Geo
impl UnsafeUnpin for Geo
impl UnwindSafe for Geo
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