pub struct Location {
pub latitude: f64,
pub longitude: f64,
}Expand description
Represents a geographic location with latitude and longitude.
§Fields
latitude: The latitude in degrees.longitude: The longitude in degrees.
Fields§
§latitude: f64§longitude: f64Trait Implementations§
impl Copy for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin 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