pub struct Location {
pub latitude: f64,
pub longitude: f64,
pub altitude: Option<f64>,
}Expand description
A place on Earth, as GPS gives it: WGS 84.
Fields§
§latitude: f64Degrees north of the equator, negative south of it.
longitude: f64Degrees east of Greenwich, negative west of it.
altitude: Option<f64>Metres above sea level, negative below it.
Trait Implementations§
impl Copy for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Forget for Location
impl Freeze for Location
impl Move for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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